I want to define my builds using the Jenkins 2 pipeline feature and I want this configuration to be loaded from sources in a Jenkinsfile
.
However I don't want to clutter my master
node with workspace.
Ideally, I could specify that a pipeline job is meant to be run a given node type but that doesn't seems possible.
I see 2 alternatives:
Did I miss something? What would be the best practice ?
There's a Jenkins issue that claims this is now fixed, and only the Jenkinsfile itself needs to be checked out on the master: https://issues.jenkins-ci.org/browse/JENKINS-33273
(It isn't working for me at the moment though.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With