Created
October 18, 2018 18:14
-
-
Save jamroks/7e86b8db96c2b92e48ba653fcef9f495 to your computer and use it in GitHub Desktop.
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 { label "dockeragent"} | |
stages { | |
stage ('Bundler Setup'){ | |
steps { | |
sh 'bundle install' | |
echo 'finished installing gem file' | |
} | |
} | |
stage ('KitchenCi Create instance'){ | |
steps { | |
sh 'kitchen create ' | |
} | |
} | |
stage ('KitchenCi Converge instance'){ | |
steps { | |
sh 'kitchen converge' | |
} | |
} | |
stage ('KitchenCi Verify instance'){ | |
steps { | |
sh 'kitchen verify case1' | |
} | |
} | |
stage ('KitchenCi Destroy instance'){ | |
steps { | |
sh 'kitchen destroy' | |
} | |
} | |
stage ('cleanup workspace'){ | |
steps { | |
echo 'deleting last workspace file' | |
deleteDir() | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment