Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ pipeline {
echo 'Build Dockerimage'
sh 'docker build . -t simplewebapp:${BUILD_NUMBER}'
sh 'docker save -o simplewebapp.tar simplewebapp:${BUILD_NUMBER}'
echo 'Build Dockerimage'
echo 'Build Dockerimage'
echo 'Build Dockerimage'
echo 'Build Dockerimage'
echo 'Build Dockerimage'
archiveArtifacts artifacts: 'simplewebapp.tar', followSymlinks: false
}
}
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def do_GET(self):
self.wfile.write(bytes("<html><head><title>https://pythonbasics.org</title></head>", "utf-8"))
self.wfile.write(bytes("<p>Request: %s</p>" % self.path, "utf-8"))
self.wfile.write(bytes("<body>", "utf-8"))
self.wfile.write(bytes("<p>This is an example web server.</p>", "utf-8"))
self.wfile.write(bytes("<p>EXAMPLE!!!!.</p>", "utf-8"))
self.wfile.write(bytes("</body></html>", "utf-8"))

if __name__ == "__main__":
Expand Down