Re: Multibranch Pipeline - inbuilt "Checkout SCM" stage, how to change clone directory?

2017-11-05 Thread Mark Waite
You may need to use the "skipDefaultCheckout" option, then use an explicit "checkout" inside a "dir" or other directive that will control the checkout directive. See skipDefaultCheckout in https://jenkins.io/doc/book/pipeline/syntax/ Mark Waite On Sun, Nov 5, 2017 at 3:56 PM Andy Coates wrote:

Re: Kubernetes Plugin

2017-11-05 Thread Bob
I'm seeing this same issue as well: "ERROR: script returned exit code -2". I've looked for more info in the pod logs as Carlos suggested but wasn't able to find anything helpful. If I remove the container element and nest sh under node it works. Do I need to make sure the jenkins user (1) i

Multibranch Pipeline - inbuilt "Checkout SCM" stage, how to change clone directory?

2017-11-05 Thread Andy Coates
Hi, Multibranch Declarative Pipeline seems to have an inbuilt step "Checkout SCM" that is run before my defined stages that clones the project repo into $WORKSPACE How do I change that directory it clones into? e.g. $WORKSPACE/repo_name Thanks! -- You received this message because you are su