| 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