How to set custom Windows Environment Variable in a job - quick question

2013-05-28 Thread Z W
Hi All We have a windows job and we like to set environment variable like in linux. But we can't find a configuration plugin checkbox to allow us to set a window environment variable. Eg: We like to set a JOB_NAME to a variable for this windows job such that this JOB_NAME can be used in a post-ac

Is the hudson.slaves.WorkspaceList system property still around?

2013-05-28 Thread Eric Griswold
Hi, I'm using Jenkins ver. 1.509.1 on CentOS 6; I tried setting hudson.slaves.WorkspaceList to '~' in /etc/sysconfig/jenkins: JENKINS_ARGS="-Dhudson.slaves.WorkspaceList='~'" However, parallel builds continued to use @ rather than ~ Was this incorrect or has this fea

Jabber Plugin Issue

2013-05-28 Thread spacegoose
How do I customize the IM sent by the Jabber IM plugin? I'm using Jenkins 1.514 and 1.25 plugins. I notice: "see class BuildToChatNotifier" ... how can I change this, where is it? I would like to be able to use Jenkins environment variables similar to the email plugin, e.g. https://jenkins

Re: Using a job to decide when to run another job

2013-05-28 Thread Jim Zajkowski
Hi Jason, Thanks for this suggestion - this looks like it will work for us! --Jim On Tue, May 28, 2013 at 3:10 PM, Jason Swager wrote: > Your second approach - slightly modified - would work. Create a job that > determines if the next job should run, using whatever logic/scripts you > want.

Re: Using a job to decide when to run another job

2013-05-28 Thread Les Mikesell
On Tue, May 28, 2013 at 2:03 PM, Jim Zajkowski wrote: > > This is perhaps a bit outside the normal Jenkins setup, but I need to have a > job run periodically, and that job will determine whether or not another job > should be run. > > Right now I have this working by having the first job change a

Re: Using a job to decide when to run another job

2013-05-28 Thread Jason Swager
Your second approach - slightly modified - would work. Create a job that determines if the next job should run, using whatever logic/scripts you want. If you want to trigger the next job, write out a file. Then use the Conditional Build Step plugin ( https://wiki.jenkins-ci.org/display/JENKIN

Using a job to decide when to run another job

2013-05-28 Thread Jim Zajkowski
Hi all, This is perhaps a bit outside the normal Jenkins setup, but I need to have a job run periodically, and that job will determine whether or not another job should be run. Right now I have this working by having the first job change a file and the second job trigger via FSTrigger. Howeve

Re: Old jobs just disappearing from UI

2013-05-28 Thread Sarah Woodall
I recently upgraded to 1.509.1. Today I have found that all my old "keep forever" matrix jobs have vanished. The parent jobs still exist -- so you see the list and it looks as though they are still there -- but the important stuff -- the console output, the archived artifacts -- has all gone. T

Re: Parameterized Build - Build Queue Display of parameters?

2013-05-28 Thread Danny Staple
Martin, I now have new info on this. This is available inside the REST API. If you go to : /queue/api/xml Then you are able to see/query the params of queued jobs. You can also use the json/python data here. Danny On Wednesday, 13 July 2011 15:35:55 UTC+1, Martin B. wrote: > > When I use the

Re: Jenkins Linux Slave fails to connect to Jenkins master - JLNP Java Web Start

2013-05-28 Thread Stuart Green
Cheers for the help. I've got that nailed now. I butchered the init.d startup script, stripping out the bits relating to starting the slave, created a script in /usr/local/bin with those parts, including a 'sleep 6m' at the top and then called it from /etc/rc.local so I didn't delay anythi

Groovy script help to get Maven artifact info...

2013-05-28 Thread Jeff
I've not really used Groovy before, but found references online to using Groovy to read the current job's maven information and set environment variables. However, they don't seem to work. I keep getting NullPointerExceptions. I've dialed back the script to the bit that returns null: import hud

Re: Jenkins Linux Slave fails to connect to Jenkins master - JLNP Java Web Start

2013-05-28 Thread Stuart Green
Oh here we go from the master log.. May 22, 2013 9:43:29 AM hudson.triggers.SCMTrigger$Runner run INFO: SCM changes detected in HOS251Filter-main-line. Triggering #419 May 22, 2013 9:44:08 AM hudson.model.Run execute INFO: HOS251Filter-main-line #419 main build action completed: SUCCESS May 22

Re: Jenkins Linux Slave fails to connect to Jenkins master - JLNP Java Web Start

2013-05-28 Thread Stuart Green
Yes that's right. I'd need to reboot it again whilst watching to be absolutely sure of what the master is thinking. Certainly it would be back up within those 4 minutes though. I might have to go with something like you've made, either your approach or maybe a massive sleep in the init script

RE: Jenkins Linux Slave fails to connect to Jenkins master - JLNP Java Web Start

2013-05-28 Thread Mandeville, Rob
So the server is complaining that it already has a server by that name. When the slave job is down, does the Server still regard it as up? Maybe Jenkins hasn't noticed yet (there's a 4-minute "ping timeout" involved, so it might not have). I have a cron job that runs every five minutes, looki

Jenkins Linux Slave fails to connect to Jenkins master - JLNP Java Web Start

2013-05-28 Thread Stuart Green
Hello.. This is getting to be a bit of a pain, it seems to happen every time we reboot the linux slave, but does not happen when we reboot the windows slave that we have. We are on Jenkins ver. 1.515 so the fix in 1.398(off the top of my head) is definitely there. May 15, 2013 11:13:37 AM hud

Re: Single-User Permission Issues in LTS

2013-05-28 Thread Johannes Wienke
I have created an issue from this: https://issues.jenkins-ci.org/browse/JENKINS-18113 On 05/27/2013 08:59 AM, Johannes Wienke wrote: > Hi, > > I found some potential debugging help in the logs. Maybe this helps: > > May 24, 2013 5:28:24 AM winstone.Logger logInternal > INFO: While serving > http

Build fails with 'ref?service=git-upload-pack not found'

2013-05-28 Thread DaveS
Caused by: hudson.plugins.git.GitException: Error performing command: C:\Program Files (x86)\Git\cmd\git.exe clone --progress -o origin http://servername.com/home/git/repositories/directory/abcdefg.git C:\Jenkins\workspace\directory Command "C:\Program Files (x86)\Git\cmd\git.exe clone --progres

pre-build maven step not working with default maven?

2013-05-28 Thread teilo
https://issues.jenkins-ci.org/browse/JENKINS-755 -- 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-users+unsubscr...@googlegroups.com. For more options,

Re: Build flow plugin does not visualize the flow correctly

2013-05-28 Thread slide
What about this library? It looks pretty good. http://cytoscape.github.io/cytoscape.js/ slide -- View this message in context: http://jenkins.361315.n4.nabble.com/Build-flow-plugin-does-not-visualize-the-flow-correctly-tp4660016p4667453.html Sent from the Jenkins users mailing list archive at

Re: Old jobs just disappearing from UI

2013-05-28 Thread Schalk W . Cronjé
I'll have to wait for the current job to finish, then see if the scheduled restart fixes it. -- Schalk W. Cronjé [Sent from mobile phone] Original message From: k.thiel...@comcast.net Date: 28/05/2013 13:43 (GMT+00:00) To: jenkinsci-users@googlegroups.com Subject: Re: O

Redirect/Rewrite URL in Jenkins

2013-05-28 Thread Steffen Breitbach
Hi everyone! Is there a way to rewrite or redirect URLs in Jenkins? Here's the Problem that I'm trying to solve: Currently, we have projects that may be linked somewhere (e.g. in documentations, wiki pages etc.) trough a link that contains the view. They look something like this: http://hos

Re: how to run applescript from Jenkins?

2013-05-28 Thread Pete Akey
I would print all of your environment variables from the command line as your jenkins user, then print them all from "bash shell" within jenkins and compare the two. They should be different because of the JVM versus the bash environment. >From CLI: comm -3 <(declare | sort) <(declare -f | so

Re: Old jobs just disappearing from UI

2013-05-28 Thread Eric
I'm running 1.510 and I have the same problem. Sometimes reloading configuration works and sometimes not. What information can I provide that will help solve this issue? Disappearing jobs qithout thee and of recovering is a serious issue for me. Sent from my iPhone On May 28, 2013, at 8:43 AM,

Re: Old jobs just disappearing from UI

2013-05-28 Thread k . thieling
If you restart Jenkins, do the builds reappear? - Original Message - From: "Schalk Cronjé" To: jenkinsci-users@googlegroups.com Sent: Tuesday, May 28, 2013 5:35:36 AM Subject: Old jobs just disappearing from UI I have one job which takes about 40h to complete. It is a big test setup

Re: Triggering the build from Git tag

2013-05-28 Thread Christopher Orr
There's an example job configuration [1] for this which you can download with the Recipe Plugin [2]. Though I believe you can only do very basic wildcard matching, e.g. "jenkins-build/*" works as a tag name, but not "jenkins-build-*". Regards, Chris [1]: https://github.com/jenkinsci/submitt

Old jobs just disappearing from UI

2013-05-28 Thread Schalk Cronjé
I have one job which takes about 40h to complete. It is a big test setup that simply just needs a lot of time to complete. The problem with this job is that the the older jobs just disappears fro the UI. If one looks on the master the builds are all there on disk, complete with symlinks. All o