Last active
February 13, 2022 22:27
-
-
Save majorsilence/7d3231be94c1e30c8da7f153b604f578 to your computer and use it in GitHub Desktop.
Python Jenkins Pipeline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent none | |
stages { | |
stage('build and test') { | |
agent { | |
docker { | |
image 'python:3.9.10' | |
} | |
} | |
steps { | |
echo "whatever is done for python can go here" | |
sh """ | |
python --version | |
""" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment