-
Bug
-
Resolution: Fixed
-
Minor
-
Plugins:
Pipeline: Declarative 1.3.2
Pipeline: Basic Steps 2.11
-
-
Declarative backlog
I tried the pipeline script below, I get
WorkflowScript: 4: "preserveStashes" should have 0 arguments but has 1 arguments instead. @ line 4, column 9.
w/o parameter restart with unstash works (by the way, multiple unstashes in one pipe is working too, as expected!)
http://kie-jenkinslts.ppe.kie.de.heidelberg.com:8080/blue/organizations/jenkins/StashUnstash/detail/StashUnstash/9/pipeline#log-12 preserveStashes(5)
pipeline
options
{ preserveStashes(5) } stages{
stage('create stash'){
steps
}
stage('unstash first'){
steps{
dir('first') {
unstash 'funstufftxt'
script
}
}
}
stage('unstash second'){
steps{
dir('second') {
unstash 'funstufftxt'
script
}
}
}
}
}
- links to