jenkins docker plugin .. removing containers on failed build

2019-11-07 Thread Neil T
Is there any way to stop jenkins docker plugin removing containers when a build has failed? I can't find a config option! -- 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 a

Re: Files sourced on pipeline shell step

2019-01-10 Thread Neil T
On Wednesday, 9 January 2019 09:19:25 UTC, Kamil Dzierżanowski wrote: > > Hello, > > I'm trying to determine, which (if any) files are sourced by the shell, in > which commands specified in "sh" pipeline step are executed. I need to make > sure the NVM (Node Version Manager) is sourced everytim

Re: 'make' exit code is ignored in declarative script

2019-01-04 Thread Neil T
sh *returnStatus: true*, script: 'echo $foo' On Thursday, 3 January 2019 17:19:40 UTC, David Aldrich wrote: > > I have a declarative script that builds a C++ application on multiple > agents in parallel. A stage looks like: > > stage('build') { > parallel { >

Re: Move work space in Jenkins File

2019-01-03 Thread Neil T
Hi Vinit The workspace is a file system. The job screen is HTML page. What you are asking makes no sense (to me) unless you mean you want to archive artifacts produced by job/pipeline and have the linked in the job details screen ? In which case search on 'archiving artifacts'. It's easy with

Re: Jenkins is keeping all the old builds

2019-01-03 Thread Neil T
I think you need to hire a jenkins consultant! On Thursday, 3 January 2019 14:44:42 UTC, madhvend...@dogmasystems.com wrote: > > Hi, > I'm using Jenkins to build the war file. > I have configured everything like a number of build or number or artifacts > etc. > I have multiple customers, So I h

Re: why won't builds trigger with multibranch pipeline github branch source ?

2019-01-03 Thread Neil T
but also from branch indexing.* but on jenkins help *Suppresses the normal SCM commit trigger coming from branch indexing.* On Thursday, 3 January 2019 14:43:14 UTC, Neil T wrote: > > I meant to add that the I can see the triggers are firing from github in > the jenkins logs. > >

Re: why won't builds trigger with multibranch pipeline github branch source ?

2019-01-03 Thread Neil T
I meant to add that the I can see the triggers are firing from github in the jenkins logs. On Thursday, 3 January 2019 13:32:52 UTC, Neil T wrote: > > Hi All > > My desired behaviour for triggering multi branch pipelines is: > > - trigger build on commit / push to git hub

Jenkins Ignore Committer Strategy Plugin and job DSL

2018-11-20 Thread Neil T
HI All The 'Jenkins Ignore Committer Strategy Plugin ' does what I need with a multibranch pipeline but I can't find a way to configure it via the job DSL builder that works for me. Has anyone got some example DSL ? I can't stick the config in the branchSources block. there's another way , to

MarkupBuilder in pipeline code

2018-03-01 Thread Neil T
HI All I want to use MarkupBuilder in pipeline code. But I get 'java.lang.NoSuchMethodError: No such DSL method 'body' . Is there a workaround or alternative way to generate some HTML to send in an email. def makeHtmlTable (refs) { def writer = new StringWriter() def markup = new groovy.xml