Define the node in pipeline

2016-09-13 Thread Paul Chubatyy
Good morning, I'm creating a small pipeline script that has multiple stages on the node to be executed: node('sles12') { stage('checkout') { git 'https://github.com/acme/makefiles.git' git url: 'https://github.com/acme/software.git', branch: env.BRANCH_NAME sh 'echo `

how to deploy dll from one node to QA server

2016-09-13 Thread Shashi Kanth
Dear All, How to deploy artifacts to QA server from node ? we are building MS build project on particular node and want to deploy all artifacts from node to QA server. Is this process possible with Jenkins ? please help. Thanks Shashi -- You received this message because you are subscribed

Jenkins job triggered by gerrit vote

2016-09-13 Thread Sihan Wang
I am thinking is this possible that Jenkins job will be triggered by someone voting? For example, one reviewer gives plus 1, and then jenkins could trigger the job. sometimes it will reduce many unnecessary jobs triggered. Thanks Sihan -- You received this message because you are subscribed

Build fails in Jenkins

2016-09-13 Thread rnara
Hi, I'm getting the following errors while building any project through Jenkins. Builds are working fine until yesterday. I had to restart the Jenkins today and since then I'm getting these following errors for any subversion operation inside build. The same SVN commands are working fine outsi

Re: How to dynamically change email list in Editable email plugin recipient list text box

2016-09-13 Thread Slide
See comments inline. On Tue, Sep 13, 2016 at 12:44 PM mpc8250 wrote: > Hi Slide, > Sorry - had issue with posting. > > We have > > 1- In the job config page, a String parameter email_list declared with > default value to an email address. > 2 - Within the Execute shell build step, > a- export em

PeopleSoft Online Object Migrations using Jenkins

2016-09-13 Thread Kofi Boateng
My current Client is looking into implementing Jenkins. We are running PeopleSoft HCM/FIN. I am tasks in coming up with a business case for implementing Jenkins for Continuous Integration and Delivery. What I cannot pin my hands on is whether Jenkins can be used to migrate PeopleSoft objects su

Re: How to dynamically change email list in Editable email plugin recipient list text box

2016-09-13 Thread mpc8250
Hi Slide, Sorry - had issue with posting. We have 1- In the job config page, a String parameter email_list declared with default value to an email address. 2 - Within the Execute shell build step, a- export email_list b- while loop to append new email addresses to existing string email_list c-

Re: How to dynamically change email list in Editable email plugin recipient list text box

2016-09-13 Thread mpc8250
Hi Slide Thanks for responding On Tuesday, September 13, 2016 at 1:56:28 PM UTC-5, slide wrote: > > This is how I do it in my setup. How did you format your email_list > environment variable? > > On Tue, Sep 13, 2016 at 9:55 AM mpc8250 > > wrote: > >> Hi >> >> We have a need to dynamically use

Re: How to dynamically change email list in Editable email plugin recipient list text box

2016-09-13 Thread Slide
This is how I do it in my setup. How did you format your email_list environment variable? On Tue, Sep 13, 2016 at 9:55 AM mpc8250 wrote: > Hi > > We have a need to dynamically use a set of email users to send the build > status with Jenkins Editable email plugin. > We tried with eg ${ENV, var="e

Re: Git Polling fails

2016-09-13 Thread Mark Waite
Are you sure that you executed the same commands when trying to duplicate the problem? The message seems to be from your server and seems to say that a specific sha1 cannot be found in the remote repository. Is there any server maintenance on your TFS server at the time you see the issue? Mark W

How to dynamically change email list in Editable email plugin recipient list text box

2016-09-13 Thread mpc8250
Hi We have a need to dynamically use a set of email users to send the build status with Jenkins Editable email plugin. We tried with eg ${ENV, var="email_list"} and it didnt work; with error something about com.sun.mail.smtp.SMTPAddressFailedException: 550, even though when we know for sure the

Git Polling fails

2016-09-13 Thread ok999
I have a very simple job that polls the Git SCM, and if any changes if kicks of a downstream job. For the last 1 week, the Git polling fails with the below error. *Git Polling Log* *Started on Sep 12, 2016 9:44:04 AM* *Polling SCM changes on Agent1* *Using strategy: Default* *[poll] Last Built

Re: Detect the git repo for multi-branch pipeline

2016-09-13 Thread Phil Swenson
Thanks, worked great! On Monday, September 12, 2016 at 12:10:09 AM UTC-6, Sverre Moe wrote: > > Use instead > checkout scm > > It will checkout code from the repository > > fredag 9. september 2016 19.15.03 UTC+2 skrev Phil Swenson følgende: >> >> Hi, I have a multi branch pipeline configuration j

Sonarqube plugin with maven project

2016-09-13 Thread Michael Giroux
Our site has a single sonarqube server. Our builds have been configured as maven projects, and run the sonarqube plugin as a post build publisher. Not sure of the rationale for this approach. I have added the sonar:sonar goal to a maven build and get the same result aa jobs that use sonarqube

Re: Powershell script runs fine locally, but when ran via Jenkins...

2016-09-13 Thread aaron . trujillo
Thanks for the reply, Yes Jenkins has full administrative rights on the system. When I remote into the machine using the Jenkins credentials, I have no problem accessing any of the desired files. I am leaning more toward the possibility of it being a compatibility issue. It seems there might

Latest changes to Jenkins Pipeline break serializable on KeySet

2016-09-13 Thread Sverre Moe
After upgrade to Jenkins 2.22 and the Pipeline plugins 2.x my build script failed [Pipeline] End of Pipeline java.io.NotSerializableException: java.util.LinkedHashMap$LinkedKeySet It failed when I called map.keySet() which did worked before the update. This was logic executing on a Jenkins flywe

how to run job based on previous build status

2016-09-13 Thread Bhushan Thosar
Hey Hi all of you, I want to run my on the basis of previous build status, I am using "Triggered parameterized build on other projects" in Post Build Actions. But it is not working properly. When I am trying to run new build, my previous build is failed, but new build is passing. I dont know wha

Re: Powershell script runs fine locally, but when ran via Jenkins...

2016-09-13 Thread Nico Schmoigl
Hi Aaron, just out of the blue: Are these two different users which you are referring to? I.e. do you run your Jenkins server/slave with the same user as with the user you are logging on and testing whether the folder exists? If not, then you should check whether the Jenkins user is also author