Add app.py
This commit is contained in:
commit
3eccc0fe48
1 changed files with 12 additions and 0 deletions
12
app.py
Normal file
12
app.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
#app.py
|
||||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route("/")
|
||||
def home():
|
||||
return "Hello, Jenkins Pipeline with Python!"
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", port=3001)
|
||||
Loading…
Add table
Add a link
Reference in a new issue