Skip to content

Instantly share code, notes, and snippets.

@cdenneen
Last active March 13, 2017 23:25
Show Gist options
  • Save cdenneen/f0bf03ef77a3bd286efa7068a8e5f413 to your computer and use it in GitHub Desktop.
Save cdenneen/f0bf03ef77a3bd286efa7068a8e5f413 to your computer and use it in GitHub Desktop.
node {
stage('fetch code')
checkout scm
stash name: 'infra-stash'
stage('build')
dir('/var/jenkins_home/workspace/shared/jobs/build/puppet lint') {
deleteDir()
unstash 'infra-stash'
}
build job: 'shared/jobs/build/puppet lint'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment