Created
February 13, 2022 22:28
-
-
Save majorsilence/0c30e61818e8808d71332068849087ca to your computer and use it in GitHub Desktop.
C 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') { | |
agent { | |
docker { | |
image 'gcc:9.4.0' | |
} | |
} | |
steps { | |
echo "building" | |
sh """ | |
gcc --version | |
""" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment