Created
April 6, 2017 03:12
-
-
Save i386/5bacc640574c6d79bb72cd9a1181a505 to your computer and use it in GitHub Desktop.
Jenkinsfile
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 any | |
stages { | |
stage('Build') { | |
steps { | |
echo 'build steps go here' | |
} | |
} | |
stage('Test') { | |
steps { | |
echo 'test steps go here' | |
} | |
} | |
stage('deploy') { | |
when { branch 'master' } | |
steps { | |
echo 'deploy steps go here' | |
} | |
} | |
stage('smoke tests') { | |
when { branch 'master' } | |
steps { | |
echo 'smoke test steps go here' | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment