Re: Sporadic MSBuild errors / possible durable task issue?

2019-01-31 Thread Daniel Becroft
On Fri, Feb 1, 2019 at 2:31 AM Steven Foster wrote: > After updating Jenkins with plugins from early April 2018, I'm seeing > inconsistent failures in my pipelines' calls to MSBuild which I cannot > reproduce outside of Jenkins. It occurs in both powershell and bat steps. > > The error presents

Re: Sporadic MSBuild errors / possible durable task issue?

2019-01-31 Thread Steven Foster
On Thursday, January 31, 2019 at 4:45:40 PM UTC, Simon Richter wrote: > > > There are a few things going on: > > - MSBuild sticks around after a build if the same project is rebuilt > - Jenkins kills processes belonging to a build after it believes the > build has finished > - MSBuild has

Re: Sporadic MSBuild errors / possible durable task issue?

2019-01-31 Thread Simon Richter
Hi, On 31.01.19 17:31, Steven Foster wrote: > There is no such extra information file. This looks a bit like an > interrupt to me, is there a way I can reproduce how Jenkins sends > interrupts so I can verify that? There are a few things going on: - MSBuild sticks around after a build if the

Sporadic MSBuild errors / possible durable task issue?

2019-01-31 Thread Steven Foster
After updating Jenkins with plugins from early April 2018, I'm seeing inconsistent failures in my pipelines' calls to MSBuild which I cannot reproduce outside of Jenkins. It occurs in both powershell and bat steps. The error presents as 0>MSBUILD : error MSB4166: Child node "14" exited

Re: How to prevent concurrent execution of jobs on the same node, but allow a few parallel steps execution?

2019-01-31 Thread Vitaly Karasik
My job is Multibranch job, for some reason such job, unlike 'regulal' pipeline job, doesn't provide this checkbox. On Thursday, January 31, 2019 at 3:25:53 PM UTC+2, Den Slobozhanskyi wrote: > > [image: Screenshot from 2019-01-31 12-35-45.png] > what plugin do you use precisely? I run jenkins

Re: Unable to run git repository on jenkins which is deplyed under tomcat8

2019-01-31 Thread Mark Waite
Did you assign a private key credential to that job? A username.password credential won't work with an SSH URL. A private key credential won't work with an http or https URL. If the private key has a passphrase, did you provide the passphrase when defining the credential in Jenkins? Did you

Cannot use credentialsId in multibranchPipelineJob

2019-01-31 Thread Polina Koornneef
Hello, I am trying to create multibranchPipelineJob using DSL. Here is my script: multibranchPipelineJob('job name') { branchSources { branchSource { source { git { remote('git-url') credentialsId('credentialsId')

What is the journey to migrate my jenkins1(Build flow DSL) jobs to jenkins2 pipeline. Can Anybody out here can guide me in this jouney as I am just a new entrant in this area Please its urgent

2019-01-31 Thread davish bhardwaj
What is the journey to migrate my jenkins1(Build flow DSL) jobs to jenkins2 pipeline. Can Anybody out here can guide me in this jouney as I am just a new entrant in this area Please its urgent -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

Re: How to prevent concurrent execution of jobs on the same node, but allow a few parallel steps execution?

2019-01-31 Thread Den Slobozhanskyi
[image: Screenshot from 2019-01-31 12-35-45.png] what plugin do you use precisely? I run jenkins 2.150.1 and this throttling plugin https://github.com/jenkinsci/throttle-concurrent-builds-plugin/blob/master/README.md . It clearly gives me an option to throttle a pipeline job in job

Windows farm | jenkins slave configuration via "Launch agent via execution of command on the master"

2019-01-31 Thread LnT
Hello - Looking for help - w.r.t jenkins slave configuration via *"Launch agent via execution of command on the master"* As I'm looking to minimize the memory consumption in remote slave machine via Availability *"Take this agent online when in demand and offline when idle"* Jenkins master

Historic graph for CSV data

2019-01-31 Thread Simon Richter
Hi, we have a repository with translations and a script that verifies that the translated strings are still up to date with the source code. The script generates a CSV file like LANG;TRANSLATED;FUZZY;UNTRANSLATED bg;1272;2991;1323 ca;2752;1848;986 cs;2762;2198;626 Now I'd like

Re: How to prevent concurrent execution of jobs on the same node, but allow a few parallel steps execution?

2019-01-31 Thread Vitaly Karasik
>Set up a single resource for each node and give them all a common label Thank you - I thought about using lockable resources, but didn't know that I can mark each node as separate resource. I'll check it. On Thursday, January 31, 2019 at 11:43:30 AM UTC+2, Daniel Butler wrote: > > You could

Re: How to prevent concurrent execution of jobs on the same node, but allow a few parallel steps execution?

2019-01-31 Thread Daniel Butler
You could use the lockable resources plugin (v2.2+): Set up a single resource for each node and give them all a common label Then your Jenkinsfile would be: lock(label: "common-label", variable: "LOCKED_NODE"){ node(env.LOCKED_NODE){ //build project } } Regards, Daniel. On