0
저는 파이프 라인에 stash \ unstash를 사용하고 있으며 여러 단계로 잠금 해제 할 수 있습니까?파이프 라인을 통해 여러 단계의 은닉을 해제 하시겠습니까
그래서 예를 들면 :
stage('One') {
steps {
echo 'Stage one...'
stash includes: 'dist/**/*', name: 'builtSources'
dir('/some-dir/deploy') {
unstash 'builtSources'
}
}
}
stage('Two') {
steps {
echo 'Stage two...'
node('OtherNode') {
dir('/some-other-dir/deploy') {
unstash 'builtSources'
}
}
}
}
그래서, 다음 단계 중 하나로, 여러 번 초기 단계에서 만든 마리화나를 검색 할 수 있습니다?