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:
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
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