On Wednesday, December 31, 2014 3:02:38 PM UTC-5, David Karr wrote: > > I get the impression that the script used in a workflow job can be loaded > from SCM, instead of hardcoded into the Jenkins job. How exactly do you > specify that? I noticed the "load" workflow step, but that's not quite the > same thing. >
‘load’ indeed presumes at least a little “bootstrap” code, such as node('some-label') { git '…' load 'flow.groovy' } The workflow-cps-global-lib provides an alternate approach, with Jenkins hosting the flow, but that is not necessarily what you want either. https://issues.jenkins-ci.org/browse/JENKINS-26101 tracks loading the complete script from a designated SCM source without any bootstrap code. -- 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/4fa225a4-766c-4a05-a54d-14f4f069ba09%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.