Re: What is "slave Java"

2016-11-18 Thread Michael Giroux
> Does that help? Just barely. Yes it is a Maven project. It is clear from the execution that the build ultimately succeeds. We are aware of the JDK compatibility issue. We spent a couple of months updating maven projects to configure toolchains in the poms. After investing significant effo

Jenkins plugin (specific version) fleet upgrade

2016-11-18 Thread alok joshi
I have a large fleet of Jenkins instances running in a cluster, all having the LDAP plugin version 1.6 (Jenkins version 1.611). I want to fleet-upgrade the LDAP plugin version to 1.7 (to incorporate environment variables in my plugin configuration). How do I achieve this without manually uplo

Re: How to switch between Maven 2 and Maven 3 at build execution time?

2016-11-18 Thread Victor Martinez
Hi, Can you try with EnvInject-Plugin plus Shell step/Batch step in your freestyle projects? Cheers On Friday, 18 November 2016 20:47:11 UTC, M. Richey wrote: > > Hello everybody, > > we are on our way on to Maven 3. Therefore we once would like to use > Maven 2 for our build and Maven 3 the

Re: Thread Dump taken when nodes are stuck shows write to path that doesn't exist

2016-11-18 Thread Baptiste Mathus
This is definitely a good idea. If you have any idea on how to implement it and can propose some PoC or something, it would be most welcome! Thank you very much! 2016-11-18 14:54 GMT+01:00 Rinaldo DiGiorgio : > > > On Saturday, October 15, 2016 at 1:33:06 PM UTC-4, Rinaldo DiGiorgio wrote: >> >>

Re: project manager

2016-11-18 Thread Baptiste Mathus
nope, obviously, spammers are sometimes able to go through gates :-( 2016-11-18 20:28 GMT+01:00 Paxton, Darren : > Is this sort of thing allowed on the group? ​ > -- > *From:* jenkinsci-users@googlegroups.com > on behalf of chandrakanth itiyam > *Sent:* 18 November 2

Re: Groovy Script Not Working

2016-11-18 Thread Eric Fetzer
OUCH! That was it! Added the following parameter to my /etc/sysconfig/jenkins file, restarted jenkins, and it worked: -Dhudson.model.ParametersAction.keepUndefinedParameters=true On Friday, November 18, 2016 at 8:03:25 AM UTC-7, Eric Fetzer wrote: > I've recently upgraded Jenkins from an ol

Re: Groovy Script Not Working

2016-11-18 Thread Eric Fetzer
Could this have something to do with it? https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-11 On Friday, November 18, 2016 at 8:03:25 AM UTC-7, Eric Fetzer wrote: > I've recently upgraded Jenkins from an older version to modern version > (2.19.2). In the old vers

Re: Groovy Script Not Working

2016-11-18 Thread Eric Fetzer
Well, I found out a little more by putting a few println's in there. When it hits the: if(oldParms != null), it goes in to set newParams from oldParams. I'm not sure what that really buys me though... On Friday, November 18, 2016 at 8:03:25 AM UTC-7, Eric Fetzer wrote: > I've recently upgra

How to switch between Maven 2 and Maven 3 at build execution time?

2016-11-18 Thread M. Richey
Hello everybody, we are on our way on to Maven 3. Therefore we once would like to use Maven 2 for our build and Maven 3 the next time. Unfortunately there is no option in the Parameterized Trigger Plugin where to define which Maven version to use. Trying to set the path to either Maven 2 or Ma

Re: Question about Jenkins kubernetes plugin

2016-11-18 Thread JonathanRRogers
On Monday, October 24, 2016 at 11:52:12 AM UTC-4, Akagi Norio wrote: > > Hi, > > I'm trying to use Jenkins kubernetes plugin and want to make sure that if > this works even if Jenkins master is not inside a k8s cluster. > On all example on the internet I could find, people set a k8s api server's

Re: What is "slave Java"

2016-11-18 Thread Mark Bidewell
In short, Jenkins after a certain point Uses Java 1.7+. It appears you are using the Maven project type. This project type injects Jenkins behaviors into the Maven build. These behaviors must run with Java 1.7+. The error you are getting is to to Jenkins attempting to use its behaviors with

Re: project manager

2016-11-18 Thread Paxton, Darren
Is this sort of thing allowed on the group? ? From: jenkinsci-users@googlegroups.com on behalf of chandrakanth itiyam Sent: 18 November 2016 18:48 To: chandrakan...@itiyam.com Subject: project manager Location: Chester, VA **LOCAL candidates STRONGLY preferr

Re: pipeline groovy - can somebody please explain why variable value passing is working like this?

2016-11-18 Thread Thomas Keller
I'm just interested in this thread, so I'm subscribing by answering. Sorry for the confusion :) Am 14. November 2016 12:15:16 MEZ, schrieb Jonathan Hodgson : >I'm sorry, but am I supposed to know what that means? > >On Monday, November 14, 2016 at 10:25:12 AM UTC, Thomas Keller wrote: >> >> /su

project manager

2016-11-18 Thread chandrakanth itiyam
*Location: Chester, VA* **LOCAL candidates STRONGLY preferred** *ALL candidates MUST be able to attend a personal interview, NO phone interviews, NO Skype, NO exceptions Project management, project scheduling and communications lead for VITA ITPM work plan application projects. Need for a str

Paramaterized trigger plugin not available as post-build step

2016-11-18 Thread raye.raskin via Jenkins Users
I have a situation where I want to trigger JobB when JobA is done. I have no problem doing this but I have a timing problem. The only place I see where this can be done is in the Build section. The problem with this is I have a post-build step that copies the artifacts from JobA to a server. Si

Re: What is "slave Java"

2016-11-18 Thread Michael Giroux
Thanks Daniel. But I'm still not clear on what is going on under the covers. The job is NOT configured to run on a slave, but the message indicates that the build was retried on a slave. Is there a default slave that runs on the Jenkins host to support this retry? On Friday, November 18, 201

Difference between "echo" and "println" in Jenkinsfile, and clarification of "pipeline steps"

2016-11-18 Thread David Karr
I see in the "Pipeline Steps" there is "echo". I don't see "println". When I execute a Jenkinsfile with a "println" statement, I see "[Pipeline] echo" printed before the output line, as if "println" is just a synonym for "echo". If I change the statement to use "echo" instead, it appears to d

Re: Groovy Script Not Working

2016-11-18 Thread Eric Fetzer
The result of running this should set the variable ${build_result}, but that is not set on the other side. Here's the output from the build when it goes into the groovy script: Building in workspace /var/lib/jenkins/workspace/Audit Run condition [Numerical comparison] enabling prebuild for step

Re: JENKINS UNAUTHENTICATED REMOTE CODE EXECUTION

2016-11-18 Thread Aurelien Ryo
Daniel, We have version 1.642.2, the full path of the script is E:\build_server\jenkins\scriptler\scripts\cli-shutdown.groovy. Thanks in advance Aurélien Le vendredi 18 novembre 2016 16:44:40 UTC+1, Daniel Beck a écrit : > Which version of Jenkins is this? What is the full path to the groovy

Re: Maven Metadata Plugin MY_JAR_VERSION cannot be set from upstream project

2016-11-18 Thread Daniel Beck
> On 18.11.2016, at 15:37, Torsten Reinhard wrote: > > It seems like some change made in Jenkins doesn´t allow anymore to pass > parameters from one job to another when using Mavan Metadata plugin. First entry on https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-1

Re: JENKINS UNAUTHENTICATED REMOTE CODE EXECUTION

2016-11-18 Thread Daniel Beck
Which version of Jenkins is this? What is the full path to the groovy file, including its file name? > On 18.11.2016, at 16:01, Aurelien Ryo wrote: > > Hi Daniel, > > I have created the folder init.groovy.d and copied the file into, but after > restart I can't find "jenkins.util.groovy.Groovy

Re: What is "slave Java"

2016-11-18 Thread Daniel Beck
> On 18.11.2016, at 15:46, Michael Giroux wrote: > > Could someone either explain, or point me to documentation that explains what > is really happening here? Specifically what does > "Retrying with slave Java ..." mean since we do not have a slave named "Java". This refers to the Java runtim

Re: Groovy Script Not Working

2016-11-18 Thread Daniel Beck
> On 18.11.2016, at 16:03, Eric Fetzer wrote: > > It has stopped working. What happens instead? -- 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 an email to jenkinsci-u

Groovy Script Not Working

2016-11-18 Thread Eric Fetzer
I've recently upgraded Jenkins from an older version to modern version (2.19.2). In the old version, my Groovy code worked well to gather the upstream build results. It has stopped working. I'm wondering if something has changed. Here is my code: import hudson.model.* import jenkins.model.*

Re: JENKINS UNAUTHENTICATED REMOTE CODE EXECUTION

2016-11-18 Thread Aurelien Ryo
Hi Daniel, I have created the folder init.groovy.d and copied the file into, but after restart I can't find "jenkins.util.groovy.GroovyHookScript execute " in the jenkins log, even un full log. I also tried to upload the script in Scriptler. Any idea ? Thanks in advance Aurélien Le vendred

What is "slave Java"

2016-11-18 Thread Michael Giroux
We are running Jenkins 2.19.2 with JDK 1.8. We have maven projects configured to run in older JDKs, and we get the following message: ERROR: ERROR : Invalid proje

Maven Metadata Plugin MY_JAR_VERSION cannot be set from upstream project

2016-11-18 Thread Torsten Reinhard
Hi, 2 days ago I upgraded from Jenkins 1.609.3 to 1.651.3. , I´m using Maven Metadata Plugin 1.41 Now I have a problem with my parameterized job cascades: Deploy-INT - deploy-backend-INT - deploy_frontend-INT The downstream projects are triggered properly, but the versions ar

Jenkins have been running 2.26 without issues for a few weeks. Recently started seeing failures like this.

2016-11-18 Thread Rinaldo DiGiorgio
Timeouts are not working, we have a timeout for 4 hours, it seems to not work. we end up with an unusable system nothing can be done from the ui, a restart is required. Then when it restarts it tries to contiue the jobs and locks up again. Thread #234 at DSL.sh(completed process (c

How to make Pipeline job trigger on GitHub push?

2016-11-18 Thread Ola Eldøy
I am setting up a pipeline job that checks out four GitHub repositories. If changes are pushed to any of these repositories, I want the job to kick off. How should I go about this? Below is my pipeline script (names have been changed) node() { stage ('Checkout') { parallel 'Checkout':{

Re: Thread Dump taken when nodes are stuck shows write to path that doesn't exist

2016-11-18 Thread Rinaldo DiGiorgio
On Saturday, October 15, 2016 at 1:33:06 PM UTC-4, Rinaldo DiGiorgio wrote: > > Thread Dump on stuck nodes shows a write to a directory that doesn't > exist. > > Enter code here... > nohup sh -c echo $$ > > '/scratch/jenkins/workspace/9-dev/test@tmp/durable-2a0a59bc/pid'; > jsc=durable-91daf

Re: UNable to change password at https://accounts.jenkins.io/

2016-11-18 Thread Rinaldo DiGiorgio
On Thursday, August 4, 2016 at 11:14:21 AM UTC-4, Daniel Beck wrote: > > Is the password change still a problem? > > Yes I just tried again. I changed my password using id with the email part. I get an email with a temporary password. I change my password and then go try and login and I cann

Re: UNable to change password at https://accounts.jenkins.io/

2016-11-18 Thread Rinaldo DiGiorgio
On Thursday, August 4, 2016 at 11:14:21 AM UTC-4, Daniel Beck wrote: > > Is the password change still a problem? > > Re the UX, could you file issues in the INFRA project of our issue > tracker, with the 'account' component? > > https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issu

Re: Test_Count exception in Editable email notification

2016-11-18 Thread Daniel Beck
Update the email-ext plugin. You're using a version at least 2.5 years out of date. > On 18.11.2016, at 13:58, Vinod Kumar wrote: > > Hi All, > > I'm using below html code with ${TEST_COUNTS,...} and i get the exception in > console with out any email.Something i'm missing? > > ERROR: Step

Test_Count exception in Editable email notification

2016-11-18 Thread Vinod Kumar
Hi All, I'm using below html code with ${TEST_COUNTS,...} and i get the exception in console with out any email.Something i'm missing? ERROR: Step ‘Editable Email Notification’ aborted due to exception: java.lang.NoSuchMethodError

Unable to save Groovy script on EnvInject-Plugin

2016-11-18 Thread Yves Schumann
Hi @all, as a user I'm unable to save a Groovy script on the section "Evalutated Groovy script" on Job config section of EnvInject-Plugin. If I do this as Jenkins admin, it works as expected. Is this a bug or a feature? If it's a feature, where/how can I enable this configuration part for the Job

Re: JENKINS UNAUTHENTICATED REMOTE CODE EXECUTION

2016-11-18 Thread Daniel Beck
> On 18.11.2016, at 09:36, Aurelien Ryo wrote: > > I can create the folder, but are you sure it will be started automaticaly on > windows service start ? Yes. It also gets logged to the Jenkins log so you can confirm it works there. Look for the following after a Jenkins restart: jenkins.uti

Re: JENKINS UNAUTHENTICATED REMOTE CODE EXECUTION

2016-11-18 Thread Aurelien Ryo
Hi Daniel, I can create the folder, but are you sure it will be started automaticaly on windows service start ? Thanks Le jeudi 17 novembre 2016 21:39:59 UTC+1, Daniel Beck a écrit : > > > On 17.11.2016, at 17:53, Aurelien Ryo > > wrote: > > > > I don't have folder "init.groovy.d" in my win