i need declarative pipeline syntax for trigger new pull request on successfully build

2019-07-24 Thread Atul Sharma
i have pipeline code and i am struggling to write syntax in my declarative pipeline steps whenever build result will success from source branch pipeline should create new pull requests on bitbucket.. i don't find any way to do it .. please help to write syntax -- You received this message b

How to do MulitLanguage in Jenkinsfile

2019-07-24 Thread Dennis Kavanagh
Hello, I have to include Python, Java, and Javascript in my 3 different code scanners: SonarQube, Fortify and NexusIQ in the most pleasing manner possible in the same Jenkinsfile? Any hints GREATLY appreciated .. Thank You -- You received this message because you are subscribed to t

Re: groovy split() on User ID

2019-07-24 Thread Slide
You aren't actually using any variables in your mail call since you have no $ inside the string. Generally, when using each, I like to specify the iterator variable name (it defaults to 'it'). Approvals.each { id -> mail(to: "${id}@domain.com") } On Wed, Jul 24, 2019, 10:20 krish wrote: >

groovy split() on User ID

2019-07-24 Thread krish
Hello, Anyone tried using the split for sending out the emails for approval to multiple recipients. In My Jenkinsfile i have something like this *Jenkinsfile*: Approvals = $SPACE == 'stage' ? '1234, 4567' : $SPACE == 'prod' ? '8912,3455' Assume these numbers as UserID. *Groovy code:*

Re: Build jobs take 10 minute long pause on final "exit 0"

2019-07-24 Thread Manny DaSilva
It is regression, this bug https://issues.jenkins-ci.org/browse/JENKINS-55106 On Tuesday, July 23, 2019 at 7:52:32 PM UTC-4, jeremy mordkoff wrote: > > I had noticed this and I had assumed that it was writing out the layers to > disk. I will also check for background tasks per Rob's comment > >

Re: Build jobs take 10 minute long pause on final "exit 0"

2019-07-24 Thread Manny DaSilva
It is regression, this bug https://issues.jenkins-ci.org/browse/JENKINS-55106 On Tuesday, July 23, 2019 at 8:28:01 AM UTC-4, RobDBA wrote: > > nope. I use freestyle exclusively, and all my jobs finish immediately. I > sorta recall that happening when I was playing around with a background ssh

Re: Build jobs take 10 minute long pause on final "exit 0"

2019-07-24 Thread Manny DaSilva
It is regression, this bug https://issues.jenkins-ci.org/browse/JENKINS-55106 On Tue, Jul 23, 2019 at 7:52 PM jeremy mordkoff wrote: > I had noticed this and I had assumed that it was writing out the layers to > disk. I will also check for background tasks per Rob's comment > > > On Friday, Jun

Re: Build jobs take 10 minute long pause on final "exit 0"

2019-07-24 Thread Manny DaSilva
It is a regression, this bug https://issues.jenkins-ci.org/browse/JENKINS-55106 On Tue, Jul 23, 2019 at 8:28 AM RobDBA wrote: > nope. I use freestyle exclusively, and all my jobs finish immediately. I > sorta recall that happening when I was playing around with a background ssh > agent. Check

Re: bitbucket-branch-source-plugin number of parallel scans limited to five

2019-07-24 Thread Tristan FAURE
Hello, for information I found the solution in this class : https://github.com/jenkinsci/cloudbees-folder-plugin/blob/master/src/main/java/com/cloudbees/hudson/plugins/folder/computed/ThrottleComputationQueueTaskDispatcher.java if the env var com.cloudbees.hudson.plugins.folder.computed.Throttle