global option to always build with clean a workspace when using pipelines

2017-03-06 Thread sleipnir
Hi I want to start building with a clean workspace in my pipelines, and I can't find a way to do it globally. I did a bit of research, and saw the step 'deleteDir()' is the proposed way of doing it. My problem with that is I need to add a call to this step for every nodes (I have parralel work

Re: Recommended to inject self-signed certificates in Jenkins official docker image

2016-10-09 Thread sleipnir
the advantage of using docker, reusing someone else's images and > specify your configuration by using the other docker instructions. It's > worth using some SCM tool to track any changes in your Dockerfile. > > Cheers > > > On Sunday, 9 October 2016 16:43:50 UTC+1, sleipnir

Recommended to inject self-signed certificates in Jenkins official docker image

2016-10-09 Thread sleipnir
Hi there I am using the official jenkins image available here https://hub.docker.com/_/jenkins/ and everything is fine so far. But in order to run my builds I need to install some self-signed certificates to access some internal servers, and I would rather keep using the default image and not

Re: Does 'scm checkout' always give the same result with parallel builds in JenkinsFiles ?

2016-09-21 Thread sleipnir
Thanks for the quick reply. Any info about the recommended way to get the sha that was actually used ? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Does 'scm checkout' always give the same result with parallel builds in JenkinsFiles ?

2016-09-21 Thread sleipnir
Hi I was playing with JenkinsFiles and Organization folders (multi-branch pipeline) and I was wondering: Is there is any guarantee the 'checkout scm' command would checkout the exact same revision on all node, even if new commits are pushed before the build is finished ? Also, I saw an