Re: 'inheritance-plugin' vs. matrix jobs

2015-05-21 Thread Łukasz Kurek
Jacek, thanks for information and hint about the mating. We use matrix jobs for handling builds for different target platforms (win32, linux, solaris, aix etc.). Currently we are copying these matrix jobs for each development branch, but because they are almost the same, we started to think

Re: [workflow-plugin] Get environment variables defined in Jenkins configuration

2015-05-21 Thread Carlos Lucas
It does not works for me. This is the script: println myVar and this is the error: groovy.lang.MissingPropertyException: No such property: myVar for class: WorkflowScript I think I need to acces it from environment but I don't know how. El miércoles, 20 de mayo de 2015, 20:23:34 (UTC+2),

Re: [workflow-plugin] Get environment variables defined in Jenkins configuration

2015-05-21 Thread Carlos Lucas
It does not works for me. This is the script: println myVar and this is the error: groovy.lang.MissingPropertyException: No such property: FILE_GITS_OK for class: WorkflowScript I think I need to acces it from environment but I don't know how. El miércoles, 20 de mayo de 2015, 20:23:34

Re: How can I handle over an environment variable within a build flow?

2015-05-21 Thread tps800
On Tuesday, May 19, 2015 at 4:26:40 PM UTC+2, rginga wrote: Let’s see,,, 1. What SCM are you using? I use Perforce and can tell the Perforce Plugin “not” to manage “client views” and create one in a fixed location AND set the Use custom workspace in Advanced Project Options to

Re: Jenkins integration with any test management tool

2015-05-21 Thread Siva shanmugam M
Hi Smita, Could you please help in steps for integration Jenkins with ALM? siva23...@gmail.com Thanks in Advance On Tuesday, 20 January 2015 15:21:55 UTC+5:30, Smita Sinha wrote: Hello Swapnil, Because we moved to HP ALM I integrated Jenkins with ALM successfully.did not look into Rally

Re: Two jobs that never shall build if the other one builds

2015-05-21 Thread tps800
On Tuesday, May 19, 2015 at 3:58:01 PM UTC+2, tps800 wrote: Hi! I'm having two jobs each one depends on the other and shall never build while the other one builds. Both are independend of each other except they are using the result of each: - cmake blocks building of llvm - llvm blocks

Re: Deleting old builds on nodes

2015-05-21 Thread niraj nandane
Is your node is Dumb slave node ? On Thursday, May 7, 2015 at 8:16:43 PM UTC+5:30, Dan Sirgey wrote: Hey all, I have a node set up to connect through ssh, that I was surprised to find disk space issues on. I just realized that while I have the discard old builds option checked, this is

Re: Two jobs that never shall build if the other one builds

2015-05-21 Thread tps800
On Tuesday, May 19, 2015 at 5:58:12 PM UTC+2, Baptiste Mathus wrote: Better use the throttle concurrent build plugin IMO. Works fine for us: Define a central token. Then configure both job to acquire it when starting. Done. Both jobs won't run at the same time. This plugin isn't as easy

Is there any plugin for finding the perforce changelist

2015-05-21 Thread niraj nandane
Hi, We are using perforce as our SCM. We have multiple jenkins projects. When we want to search the perticular changelist number or incident id by using the build has been done, we need to look at builds of each and every project . This is very time consuming. Is there any plugin which will

Re: Need Help on Jenkins build execution

2015-05-21 Thread niraj nandane
Hi, You can use the poll SCM option in job configuration. Set the poll time as per your convenience . On Thursday, May 21, 2015 at 10:57:12 AM UTC+5:30, Er. Debasish Dutta wrote: How jenkin will build automatically when ever check in happens to the TFS server. Please help on this. -- You

Re: Run subjobs but disregard the result in the parent job

2015-05-21 Thread Radu Codrin Leterna
This is not exactly what I am trying to accomplish. I need to do the following: 1. Have one main job with 5 sub-jobs in a MultiJob Phase 2. If one particular sub-job fails, just ignore that result, run all other sub-jobs and DO NOT MARK the main job as failed based on that particular sub-job

Re: Customized contents in Email extension plugin

2015-05-21 Thread niraj nandane
Hi, Use following : Where file path is relative to workspace. Lets say you have file in $WORKSPACE/myfile, now to mail it use : ${FILE,path=myfile} On Wednesday, May 20, 2015 at 1:48:43 PM UTC+5:30, Mohamed Sathack wrote: Hi, I have a summary report in the form of text file (say,

LDAP Plugin for AD -- Issue with the Groups

2015-05-21 Thread g.fer.ordas
Hi I am trying to Use the LDAP plugin to connect to an AD Server and it seems to work fine BUT for the Groups. I got the users and group on the same CN=Users The extract of my current config is: securityRealm class=hudson.security.LDAPSecurityRealm plugin=ldap@1.11

Re: Groovy scripts

2015-05-21 Thread niraj nandane
You can start with using jenkins api first. On Monday, May 18, 2015 at 2:24:36 PM UTC+5:30, Gilad Baruchian wrote: I have groovy scripts that work in my jenkins instance. I would like to be able to also run them from IntelliJ, but it seems like i need the jenkins jars for the imports to work

Re: Jenkins integration with any test management tool

2015-05-21 Thread Siva shanmugam M
Hi Swapnil, Did u achieve this integration. Appreciate your help for step by step process to achieve the same. Siva On Sunday, 18 January 2015 12:21:38 UTC+5:30, Swapnil Tilaye wrote: Hi Smita, I was wondering if you were able to integrate Jenkins with Rally. I gone through this page:

Re: [EC2 plugin] All nodes of label 'my_label' are offline

2015-05-21 Thread Simone Dalmasso
Ah and println(Jenkins.getInstance().unlabeledNodeProvisioner.stat.computeQueueLength()) returns 1 now. Il giorno giovedì 21 maggio 2015 20:06:41 UTC+2, Simone Dalmasso ha scritto: Sorry, I was running that code without the job waiting. Now that I fired up the build

Re: [EC2 plugin] All nodes of label 'my_label' are offline

2015-05-21 Thread Simone Dalmasso
Thanks for the quick answer, I changed my_label to mylabel just to avoid underscores but, as you say, println( Label.get(mylabel).nodeProvisioner.stat.computeQueueLength() ) returns 0. While println(Jenkins.getInstance().unlabeledNodeProvisioner.stat.computeQueueLength() ) returns 0 as well.

Re: [EC2 plugin] All nodes of label 'my_label' are offline

2015-05-21 Thread Simone Dalmasso
Sorry, I was running that code without the job waiting. Now that I fired up the build Label.get(mylabel).nodeProvisioner.stat.computeQueueLength() returns 1. But still the node is not coming up automatically with the message All node of label 'mylablel' are offline. Il giorno giovedì 21

RE: How can I handle over an environment variable within a build flow?

2015-05-21 Thread Ginga, Dick
Getting jobs to share the same workspace can be done by “AND set the Use custom workspace in Advanced Project Options to tell each job to use the same workspace”. I must have mistakenly assumed that that workspace contains source code to be built ? You never asked How can I handle an

Re: jenkins LDAP -- AD

2015-05-21 Thread Eric Engel
Hi, I would recommend using the Active Directory Plugin instead of LDAP: https://wiki.jenkins-ci.org/display/JENKINS/Active+Directory+Plugin No configuration necessary. Worked like a charm for us. Regards, Eric Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com]

How Do I Tell Jenkins to Use Java 7 (already installed)

2015-05-21 Thread robert . stone
When I try to start version 1.612, it says I need Java 7 and I'm running Java 6, but my system says I have Java 7. How do I point Jenkins to use the Java 7? *uname -a* Linux jenkinstest 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux *java -version*

Re: How Do I Tell Jenkins to Use Java 7 (already installed)

2015-05-21 Thread robert . stone
Is that a jenkins log file? Where can I find that? Thanks for the tip. On Thursday, May 21, 2015 at 8:07:05 AM UTC-4, David Aldrich wrote: If you check the connection log for the slave it should show you which Java path is being used by Jenkins. *From:* jenkins...@googlegroups.com

RE: How Do I Tell Jenkins to Use Java 7 (already installed)

2015-05-21 Thread David Aldrich
If you check the connection log for the slave it should show you which Java path is being used by Jenkins. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of robert.st...@onyxpoint.com Sent: 21 May 2015 13:04 To: jenkinsci-users@googlegroups.com

Using Groovy script to set 'Extended Choice Parameter'

2015-05-21 Thread Milan Satpathy
Hi, I am relatively new to jenkins. I am trying to use 'Extended Choice parameters' to display a list of values for the second parameter, depending upon first parameter value. Example: The date values to be displayed depend on the month you have choosen. First Valiable: MONTH Range: 1..12

Jenkins Java 7 question

2015-05-21 Thread robert . stone
jenkins master: Linux 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux When upgrading from the 1.611 war file with 1.612 and running service jenkins start in my shell indicates I need java 7 and I'm running java 6. I see that 1.612 now requires Java 7.

Re: NullPointerException in org.jfrog.hudson.maven3.extractor.MavenExtractorEnvironment.buildEnvVars(MavenExtractorEnvironment.java:132)

2015-05-21 Thread John Lemp
Not sure if it is the same issue but we had the same error after upgrading Jenkins and the artifactory plugin. The project settings for the Artifactory plugin had no/empty values for Resolution releases repository and Resolution snapshots repository. After we set those values it worked. On

Re: How can I handle over an environment variable within a build flow?

2015-05-21 Thread tps800
On Thursday, May 21, 2015 at 1:49:56 PM UTC+2, rginga wrote: Getting jobs to share the same workspace can be done by “AND set the Use custom workspace in Advanced Project Options to tell each job to use the same workspace”. I must have mistakenly assumed that that workspace contains

Change date and time format in views

2015-05-21 Thread tps800
Hi! jenkins uses a really lengthy date and time format in views. It reads in german like (for column Last success: 2 Stunden 23 Minuten - #12 http://test-sct-jci-muc.bfs.de:8080/me/my-views/view/CJV/lastSuccessfulBuild/ I'd liked to have that much shorter and more compact: 2h23m-#12 With:

Re: Two jobs that never shall build if the other one builds

2015-05-21 Thread Baptiste Mathus
The thing is: Locks Latches is subject to deprecation, and Throttle Concurrent Builds is recommended as an alternative. Cheers 2015-05-21 18:52 GMT+02:00 Marcus Semblano marcus.sembl...@titansgroup.com.br: Would Locks and Latches (

Re: Jenkins Java 7 question

2015-05-21 Thread robert . stone
Mark, thank you so much for the help. That worked. Once I updated /etc/init.d/jenkins like you said, jenkins started when I did service jenkins start On Thursday, May 21, 2015 at 10:36:42 AM UTC-4, Mark Waite wrote: Yes, you need to assure that the JDK 7 java is the first one found by that

[EC2 plugin] All nodes of label 'my_label' are offline

2015-05-21 Thread Simone Dalmasso
Hi everyone, I'm using the EC2 plugin and I recently added a second AMI configuration in the cloud tab with a label to use within a job. Unfortunately the job is not launching the node when I trigger a build. I have to do it manually from the jenkins - manage nodes section. I have another job

Re: Jenkins Java 7 question

2015-05-21 Thread robert . stone
Awesome I will try that. Thanks! On Thursday, May 21, 2015 at 10:36:42 AM UTC-4, Mark Waite wrote: Yes, you need to assure that the JDK 7 java is the first one found by that start script. On Thu, May 21, 2015 at 7:56 AM robert...@onyxpoint.com javascript: wrote: That got me thinking

Re: Jenkins Java 7 question

2015-05-21 Thread Mark Waite
Yes, you need to assure that the JDK 7 java is the first one found by that start script. On Thu, May 21, 2015 at 7:56 AM robert.st...@onyxpoint.com wrote: That got me thinking though, the jenkins script in /etc/init.d does have a for loop: for candidate in /usr/lib/jvm/java-1.6.0/bin/java

Re: Jenkins configuration and selenium Grid

2015-05-21 Thread steliosP
Any Selenium Grid plugin users around? On Monday, May 18, 2015 at 12:55:26 PM UTC+3, steliosP wrote: Hello guys, I am trying to set up Jenkins with selenium grid. I have downloaded selenium plugin, and when I start the nodes, I can see them in Jenkin's selenium grid tab. However, whenI try

Re: Jenkins Java 7 question

2015-05-21 Thread robert . stone
That got me thinking though, the jenkins script in /etc/init.d does have a for loop: for candidate in /usr/lib/jvm/java-1.6.0/bin/java /usr/lib/jvm/jre-1.6.0/bin/java /usr/lib/jvm/java-1.5.0/bin/java /usr/lib/jvm/jre-1.5.0/bin/java /usr/bin/java Could I add in the path to my java 7 (which

Re: Failed to tun slave from Linux red Hat

2015-05-21 Thread Eldad Cohen
Thanks on your help and response. On Tuesday, March 17, 2015 at 7:47:44 AM UTC+2, Christopher Orr wrote: On 14/03/15 21:17, Eldad Cohen wrote: Thanks Jenkins 1.959. The issue with SSH is that There is no place to insert the user id and password. It wouldn't be much use if

Re: Jenkins Java 7 question

2015-05-21 Thread Mark Waite
The script that is executed by service jenkins start is likely explicitly declaring a java version by its path to the java executable. If you're on a Red Hat derivative, you could look at /etc/sysconfig/jenkins to see if it calls for a specific java version. If you're on a Debian dreivative, you

Re: Jenkins Java 7 question

2015-05-21 Thread robert . stone
Oh interesting thanks. So the only thing I see in there that MIGHT be close to that is this: JENKINS_JAVA_OPTIONS=-Djava.io.tmpdir=/var/lib/jenkins/tmp -Djava.awt.headless=true -Djavax.net.ssl.trustStore=/var/lib/jenkins/cacerts.jks -Xmx1024m -XX:PermSize=32m -XX:MaxPermSize=256m On

How to plot graph using Jenkins Plugins with having my own X and Y axis values and labels?

2015-05-21 Thread ashok alluri
I have Jenkins job running which reads the data from external DB (not local to Jenkins server), I want to plot this data (both X and Y axis values are read from DB) using Jenkins Plugins. I am finding difficulty with Plot plugin as it's X-axis value is always build number, is there anyway that

Jenkins Wallpapers?

2015-05-21 Thread Kavitha Bhaskaran
Hi There: What plugin would give me different funny wallpapers on Jenkins server - builds' result page? http://apmblog.dynatrace.com/2013/11/27/continuous-performance-validation-in-continuous-integration-environments/ -- some pics like here is what I am thinking I dont always test my code...

Re: Jenkins integration with any test management tool

2015-05-21 Thread Smita Sinha
Siva, You have to do certain configuration in Jenkins for ALM projects. Like server settings and root name from ALM. If ur RDP connection is correct it should trigger the tests. Thanks, Smita On Thursday, May 21, 2015, Siva shanmugam M siva23...@gmail.com wrote: Hi Smita, Could you please

Re: Two jobs that never shall build if the other one builds

2015-05-21 Thread Baptiste Mathus
Le 21 mai 2015 8:59 AM, tps800 t...@vr-web.de a écrit : On Tuesday, May 19, 2015 at 5:58:12 PM UTC+2, Baptiste Mathus wrote: Better use the throttle concurrent build plugin IMO. Works fine for us: Define a central token. Then configure both job to acquire it when starting. Done. Both jobs

Re: [EC2 plugin] All nodes of label 'my_label' are offline

2015-05-21 Thread Suckow, Thomas J
Assuming you have things configured correctly I would believe it is related to https://issues.jenkins-ci.org/browse/JENKINS-27034 To confirm: In the groovy console /script you can try the following replacing mylabel with your my_label expression. If it prints 0, I'd bet it is the issue above.

Re: Two jobs that never shall build if the other one builds

2015-05-21 Thread Marcus Semblano
Would Locks and Latches ( https://wiki.jenkins-ci.org/display/JENKINS/Locks+and+Latches+plugin) work for you? Marcus Semblano On Thu, May 21, 2015 at 12:56 PM, Baptiste Mathus m...@batmat.net wrote: Le 21 mai 2015 8:59 AM, tps800 t...@vr-web.de a écrit : On Tuesday, May 19, 2015 at