git - How to avoid checkout of sources on master node with jenkins pipeline -
i want define builds using jenkins 2 pipeline feature , want configuration loaded sources in jenkinsfile. don't want clutter master node workspace.
ideally, specify pipeline job meant run given node type doesn't seems possible.
i see 2 alternatives:
- use dedicated repository jenkins job configuration stored.
- use cleaver git checkout strategy (shallow + sparse).
did miss something? best practice ?
there's jenkins issue claims fixed, , jenkinsfile needs checked out on master: https://issues.jenkins-ci.org/browse/jenkins-33273
(it isn't working me @ moment though.)
Comments
Post a Comment