Re: Issue with Email-Ext plugin-Please help

2013-01-11 Thread uma shankar
Hi Alex, Thank you very much for suggestion. I have used ${JELLY_SCRIPT, template=html} and getting emails in below format: Build URLhttp://localhost:8080/job/test/14/Project:testDate of build:Fri, 11 Jan 2013 13:28:40 +0530Build duration:0.37 sec *CHANGES* Revision *9* by *user:**(afsda)*

RE: JNLP slave no longer works

2013-01-11 Thread Matthew.Webber
From a message I sent to the list a few days ago, which worked for at least some people: I was in a slightly different situation (linux, slaves launched manually), but had the 403 as well. Fixed by going to Manage Jenkins - Configure Global Security, and under Project-based Matrix

Re: JNLP slave no longer works

2013-01-11 Thread stuart . green
Thanks Matthew, I'm a complete newbie with jenkins, I only started at this workplace a week ago and this update landed! Going through my log I certainly had the 403 errors and ticked various anonymous access rights to get it to connect again. I've just got it working after I noticed that it

Re: JNLP slave no longer works

2013-01-11 Thread Richard Mortimer
Hi, I managed to fix this fairly simply on my windows slaves (tested on XP, Vista Win 7). The fix should be similar for Linux slaves but I use a home-cooked script to start those so you'll have to adapt the solution as appropriate. 1 - autheticate as a Jenkins admin in a browser of your

Re: UI Not Showing Job Status

2013-01-11 Thread rhythmicdevil
I saw another thread in here that suggested restarting Jenkins. I followed the suggestion and the problem now appears to be fixed.

Re: JNLP slave no longer works

2013-01-11 Thread SBreitbach
The slave.jar from LTS 1.480.2 version has parameters -auth and -jnlpCredentials. Neither of them seems to work, I will get a Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64 or java.io.IOException: Failed to load

Re: JNLP slave no longer works

2013-01-11 Thread Brian J. Murrell
On 13-01-11 05:55 AM, matthew.web...@diamond.ac.uk wrote: Fixed by going to Manage Jenkins - Configure Global Security, and under Project-based Matrix Authorization Strategy I had to enable “connect” in the “slave” section, for user “Anonymous”. IIUC, that's going to leave your Jenkins

Job runs blocking on previous run of same job -- why?

2013-01-11 Thread Mandeville, Rob
I've been having problems where some of my builds appear to hang between finishing build actions and running the publisher. Server and client are running on Java 1.7 on Red Hat Linux. During these hangs, the slave node being hung isn't running anything, nor has file descriptors open to jobs

Re: JNLP slave no longer works

2013-01-11 Thread Les Mikesell
On Fri, Jan 11, 2013 at 7:12 AM, Brian J. Murrell br...@interlinx.bc.ca wrote: Fixed by going to Manage Jenkins - Configure Global Security, and under Project-based Matrix Authorization Strategy I had to enable “connect” in the “slave” section, for user “Anonymous”. IIUC, that's going to

Re: JNLP slave no longer works

2013-01-11 Thread Brian J. Murrell
On 13-01-11 08:44 AM, Les Mikesell wrote: Doesn't the connecting node name already have to be configured in jenkins Sure. But if anonymous read is allowed, anyone can see the node names. - and not already connected? Is disconnecting a node really that difficult? You could try attacking a

Re: JNLP slave no longer works

2013-01-11 Thread Kohsuke Kawaguchi
Yes, you just need to re-download the JNLP file from the master and overwrite the local copy at the slave. 2013/1/7 Jon Schewe jpsch...@mtu.net OK, so if I just keep the jnlp local now instead of always requesting it on startup, thing will continue to work, correct? On Monday, January 7,

Re: Build a parameterized build while one or more parameters are empty

2013-01-11 Thread Clemens
Hi agedio, Your Question : What happens if you leave the option empty (Created a Test Job.) I just cleared the default value content from the field and the returned value from this parameter was . (not even a space) The result would be wf.build.version*3.2*/wf.build.version if you just clear

Re: getting Exception in Job Import plugin

2013-01-11 Thread Clemens
Hi, which Jenkins Version are you using ?

Re: JNLP slave no longer works

2013-01-11 Thread Kohsuke Kawaguchi
Slaves installed as a service stores the secret token information in the startup configuration file, such as /etc/init/jenkins-slave-*.conf (Linux), /System/Library/LaunchDaemons/org.jenkins-ci.slave.*.plist (OS X), or $SLAVE_ROOT/jenkins-slave.xml (Windows). Look for seemingly meaningless

Re: JNLP slave no longer works

2013-01-11 Thread Kohsuke Kawaguchi
Agree with Brian here. Only do it when you are trusting the users of the network. 2013/1/11 Brian J. Murrell br...@interlinx.bc.ca On 13-01-11 05:55 AM, matthew.web...@diamond.ac.uk wrote: Fixed by going to Manage Jenkins - Configure Global Security, and under Project-based Matrix

Re: JNLP slave no longer works

2013-01-11 Thread Kohsuke Kawaguchi
If you want to be able to add slaves without configuring them first on the master, you can use the swarm slave plugin. 2013/1/11 Les Mikesell lesmikes...@gmail.com On Fri, Jan 11, 2013 at 7:12 AM, Brian J. Murrell br...@interlinx.bc.ca wrote: Fixed by going to Manage Jenkins - Configure

Re: JNLP slave no longer works

2013-01-11 Thread Kohsuke Kawaguchi
If your command line is something like java -jar slave.jar -jnlpUrl http://host/path/to/jnlp;, then the right thing to do is to use the -jnlpCredentials option. But as SBreitBach discovered, due to a missing dependency problem it turns out this doesn't work (Ugh!). This is being fixed now. In the

RE: JNLP slave no longer works

2013-01-11 Thread Matthew.Webber
But what about when the slave is not installed as a service? I use headless jnlp (https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds#Distributedbuilds-Launchslaveagentheadlessly) in a script that makes sure slave.jar is up to date. It looks like should be able to authenticate with

Re: JNLP slave no longer works

2013-01-11 Thread Kohsuke Kawaguchi
2013/1/11 SBreitbach steffen.breitb...@1und1.de The slave.jar from LTS 1.480.2 version has parameters -auth and -jnlpCredentials. Neither of them seems to work, I will get a Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64 or java.io.IOException:

RE: JNLP slave no longer works

2013-01-11 Thread Steffen Breitbach
We'll fix this in the next mainline release, and once all the fallout bugs like this are fixed and verified, I'll plan on another LTS release. My apologies for the problems in the mean time. No problem! The workaround using the anonymous user is OK for me in the meantime. :) smime.p7s

Re: Issue with Email-Ext plugin-Please help

2013-01-11 Thread Slide
You'll want to read up on Jelly and how to interact with the Jenkins classes to get the information you want and add it to your template. I would recommend using the groovy templates instead as they make interacting with Jenkins classes much easier. slide On Fri, Jan 11, 2013 at 3:47 AM, uma

Re: kicking off a job on a remote Jenkins - quick question

2013-01-11 Thread Clemens
Just a question, are you running any Security Settings on your Server ? My command would only work on a Not secured Server. And connected to your Error Message, i would guess you are having your Jenkins secured, am i right ?

Re: Jenkins Ant Compile Query

2013-01-11 Thread Justin Mulcahy
Thanks for the reply Chris.I have tried setting the ${source} variable to the path of my class file but Jenkins is still not compiling the class. Should i be putting something else in here? On Wednesday, 9 January 2013 00:21:56 UTC, Christopher Orr wrote: On 01/08/2013 11:40 AM, Justin

Maven claims No compiler is provided in this environment on XP

2013-01-11 Thread org.jenkins-ci
Hello. I've just configured an XP VM as a slave service. I configured the service to log in as Administrator (in Administrative Tools - Services). The environment appears to be correctly configured in that JAVA_HOME is set to the location of the installed JDK, and the directory containing the

Re: Changes since last success in Email Extension Plugin

2013-01-11 Thread Dirk Kuypers
Hi, as my developers keep asking about this I am re-sending my question. If a long-running test job is started after 2 or more faster compiles went through, I am only getting the changes for the last compile inside the email (with email-extension plugin). What I would like to have instead are

Re: Changes since last success in Email Extension Plugin

2013-01-11 Thread Slide
In my opinion the tokens are only useful up to a certain point. My recommendation to people is to start using the Groovy templates more. You can interact with the Jenkins classes and get pretty much any information you want without having to have a new feature added to the plugin. slide On Fri,

Run a build concurrently on all slaves?

2013-01-11 Thread org.jenkins-ci
Hello. I've set up Jenkins to allow me to test code on a wide range of platforms. Essentially the setup is a master node with no executors (it doesn't build code) that only dispatches jobs to slaves, and a set of slaves (most of which are running in virtual machines and frequently become

Re: Changes since last success in Email Extension Plugin

2013-01-11 Thread Dirk Kuypers
Hi Alex, I feared this answer.;-) OK, so I have to dig into this. Thanks for your hard work on the plugin! Dirk 2013/1/11 Slide slide.o@gmail.com In my opinion the tokens are only useful up to a certain point. My recommendation to people is to start using the Groovy templates more. You

Re: Re-key successful or not?

2013-01-11 Thread flsobral
I forgot to mention in my original post that I'm running Jenkins as Windows Service on Windows 7 as system user. Fabio. On Friday, January 11, 2013 1:39:50 PM UTC-2, Wolf wrote: Same here. Errors in the re-keying log like: ERROR: Failed to rewrite C:\Program Files\Jenkins\config.xml

Re: Jenkins failed to sync from Perforce due to long file name

2013-01-11 Thread Richard J
Yes, on Winsows, Perforce uses the Win32 interface to the file system which is limited to something like a 250 character path length. have suggested that they use the direct NT interface that allows 32K unicode chars, but no luck so far.

GRADLE_HOME not available on slaves

2013-01-11 Thread morty
On the jenkins master I have configured that gradle should be autoinstalled to: *GRADLE_HOME: /var/jenkins/tools/mygradle* on all slave nodes resulting in the gradle script being located here: /var/jenkins/tools/mygradle/bin/gradle This works fine and my gradle jobs builds on the slave

Re:Run a build concurrently on all slaves?

2013-01-11 Thread KEVIN FLEMING (BLOOMBERG/ 731 LEXIN)
This is exactly what Matrix builds are designed for. You define one job, with some number of axes in the matrix, and then corresponding labels on your nodes (slaves) to execute the spawned jobs. - Original Message - From: jenkinsci-users@googlegroups.com To:

How to pass parameters between jobs - quick question

2013-01-11 Thread zw
Hi All We have job A to kick off Job B Job A uses in build section execute shell to get a svn revision number and sets SVN_REVISION. (We understand that there's the option to use This build is parameterized String Parameter and set SVN_REVISION value as HEAD, but we have our reasons to not

RE: How to pass parameters between jobs - quick question

2013-01-11 Thread Stanley, Jason
I ran into this very same problem. It appears (at least with my experience) the only variables passed from Job A - Job B are the variables predefined by Jenkins. To work around the issue, in my build shell for Job A, I wrote the variable=value into a file and used the “Parameters from

Re: Run a build concurrently on all slaves?

2013-01-11 Thread felix schwitzer
For this we use simply a multi-configuration project. Regards Felix On 01/11/2013 05:23 PM, org.jenkins...@io7m.com wrote: Hello. I've set up Jenkins to allow me to test code on a wide range of platforms. Essentially the setup is a master node with no executors (it doesn't build code) that

Re: How to pass parameters between jobs - quick question

2013-01-11 Thread William Soula
I think job B would see SVN_REVISION not SVN_REVISION_NUMBER because you are setting SVN_REVISION in the post-build section. We use the triggger/call builds on other projects for the build step and it works perfectly fine to call job B from job A and echo the predefined parameters passed to

Re: Run a build concurrently on all slaves?

2013-01-11 Thread org.jenkins-ci
On Fri, 11 Jan 2013 21:38:04 +0100 felix schwitzer flx2...@yahoo.de wrote: For this we use simply a multi-configuration project. On Fri, 11 Jan 2013 19:35:42 - KEVIN FLEMING (BLOOMBERG/ 731 LEXIN) kpflem...@bloomberg.net wrote: This is exactly what Matrix builds are designed for. You define

Email-ext plugin. variable substitution in included file ?

2013-01-11 Thread Chris_Williams1
We are using the ${FILE,path} token to include the contents of a file in the workspace to an email being sent by the Email-ext plugin. We also have a parameter on this particular job (i.e. parameterized build). It appears that if the file being included uses a variable with the same name as

RE: Email-ext plugin. variable substitution in included file ?

2013-01-11 Thread Alex Earl
Yes, this is expected, the file token supports nested content. Sent from my Windows Phone From: chris_willia...@dell.com Sent: 1/11/2013 3:02 PM To: jenkinsci-users@googlegroups.com Subject: Email-ext plugin. variable substitution in included file ? We are using the ${FILE,path} token to include

Git plugin and checking out from a specified point in time

2013-01-11 Thread anthcourtney
Hello all, Does anyone have any pointers on how to configure a job within Jenkins (and probably more specifically, the Git plugin), so that the git checkout corresponds to a point in time. This point in time will be provided as a parameter to the build. Googling around, I have seen many

Jenkins console gives Connection refused when using :ext: for CVSROOT and CVS_RSH=ssh

2013-01-11 Thread Cynsa Bonorris
I'm trying to switch from :pserver: to :ext: and use ssh for secure checkouts. I've set up my keys and am connecting just fine with no password to the cvs server as my Jenkins/cvs user (builder). However, Jenkins is giving me the following error on checkout, though when I paste the cvs command

Re: Run a build concurrently on all slaves?

2013-01-11 Thread Vincent Latombe
I don't think matrix build would fit your need. Here is the pattern I applied successfully to run this kind of job. 1. Install node label parameter plugin and trigger parametrized job plugin 2. Define a job to do the work on one node. Define a node parameter on this job, this will allow to

Re: Run a build concurrently on all slaves?

2013-01-11 Thread Vincent Latombe
Note that matrix job would work but you would need to maintain a static list of nodes. Also, if one node gets stuck (or offline) it would block further executions because the 'master' build would never end. My solution is more flexible, because it only relies on the labels declared on your nodes,