Should probably add that we're on 2.7.1 for the master and 2.6 for the Pipeline API plugin.
On Monday, January 9, 2017 at 10:05:07 AM UTC-8, timothyx....@intel.com wrote: > > I have a Jenkinsfile/pipeline script where I'm accessing a passed > parameter. > > When the code is pasted into the GUI and run, the value is resolved fine. > When the same code is pasted into a file, pushed into SCM and then accessed > by the job, it fails to resolve the value. > > Example line: > > sh "cd out; zip -r -FS ${params.BUILD_TARGET}.zip ${params.BUILD_TARGET}" > > Output from "Pipeline Script" > > + zip -r -FS mytarget.zip mytarget > > Output from "Pipeline Script from SCM" > > + zip -r -FS null.zip null > > > Is there an inconsistency in interpretation/execution, or am I just doing > something wrong? > > > Thanks, > > > Tim > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/18052542-b66a-4313-a03a-d426fbe14c89%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.