Re: The pipeline emailextrecipients step takes too long time

2020-04-30 Thread Slide
Some scm providers can map usernames to emails directly. So, it doesn't require AD or LDAP for email resolution. In the end, if none of the resolvers returns a valid response, then the default domain is appended to the username and that is used. On Thu, Apr 30, 2020, 12:42 Sverre Moe wrote: > I

Re: The pipeline emailextrecipients step takes too long time

2020-04-30 Thread Sverre Moe
I see that getAuthorEmail is only part of the GitChangeSet not its super ChangeSet.Entry. Seems better to get the Email rather the Name and then do lookup. The commit has both Name and Email, both should belong in the ChangeSet API. What does it do if you don't have AD or LDAP on Jenkins, then

Startup Race Condition

2020-04-30 Thread Nigel Armstrong
Hi all, I seem to be having a startup issue with my jenkins instance when I reboot. I have a number of EC2 nodes that have running builds when I reboot. After the reboot the builds running on these nodes are killed, but they shouldn't be. After the reboot I have determined that

Re: Hi friend i have 2 lockable resource while executing same job 2 times i want 2nd job will move 2nd lcokable resource how can i do it

2020-04-30 Thread 'Christoph Fetzer' via Jenkins Users
Don't you actually want to use a ressource pool with two locks which use the same label? Am Donnerstag, 30. April 2020 15:46:28 UTC+2 schrieb Satya Muralidhar Peddireddi: > > It's my test case I want run same job parallely in different locks.if one > lock is busy go to another lock > > On Thu,

Gitlab Merge Request Builder Plugin is not working

2020-04-30 Thread Om Prasad Surapu
Hi All, Hope all are safe! I have a freestyle project in jenkins (2.1where we installed Gitlab Merge Request Builder Plugin and configured. I use GitLab Enterprise Edition 13.0.0-pre and Jenkins version is 2.138. I'm trying to trigger build using Gitlab merge builder, but not able to set the

Re: Hi friend i have 2 lockable resource while executing same job 2 times i want 2nd job will move 2nd lcokable resource how can i do it

2020-04-30 Thread Satya Muralidhar Peddireddi
It's my test case I want run same job parallely in different locks.if one lock is busy go to another lock On Thu, Apr 30, 2020, 14:24 Gianluca wrote: > > It's not really clear what you want ... but nevertheless I think you have > got the solution. > You have an "if" ... you just need to figure

Re: Hi friend i have 2 lockable resource while executing same job 2 times i want 2nd job will move 2nd lcokable resource how can i do it

2020-04-30 Thread Gianluca
It's not really clear what you want ... but nevertheless I think you have got the solution. You have an "if" ... you just need to figure it out what is the condition that makes you go to the else branch. So, why one job should lock "Resource 1" and another should "Resource 2"? On Thursday,

Hi friend i have 2 lockable resource while executing same job 2 times i want 2nd job will move 2nd lcokable resource how can i do it

2020-04-30 Thread Satya Muralidhar Peddireddi
pipeline { agent any stages { stage('sample_1') { steps { script { if(true) { lock(label: 'Resource1') { sh label: '', script: 'echo $JAVA_HOME' sleep