Several tutorials I'm referencing to learn about Jenkins Pipeline scripting guide one to create Jenkins Pipeline jobs as follows:
New Itemin the left pane.
Pipelineand enter an item name.
- Fill out the little
Pipelinetextbox with your script.
Question: where does this script physically reside? I don't see anywhere to save a filename -- am I creating
/somewhere/../else/baz.pl? What is the filename and realpath of the script that I type out in that tiny little text box?
Question: is it possible to control the name/location of the Pipeline script that I type in that textbox? E.g. can this script be something version-controlled in some git repo? And specifically, when this job has no build triggers. I can't help but feel that anonymous script edited in that tiny little text box might be limiting for larger and more complicated scripts.
Sorry for the multiple questions; I've tried to limit them and keep their scope all related.