Created
July 18, 2021 10:07
-
-
Save ssbostan/cd263e2dc326d22022774e68809b3e35 to your computer and use it in GitHub Desktop.
Jenkins pipeline syntax reference
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 { | |
docker "alpine" | |
} | |
stages { | |
stage("Build") { | |
steps { | |
sh "hostname" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment