Failed to change file modification time

2012-10-16 Thread Jeff Williams
Hi, I am having a problem with jenkins using packages on debian. Currently version 1.486. It seems to be having problems touching files. From the log: ... Failed to change file modification time Failed to change file modification time Failed to change file modification time Failed to change file

Re: Serializing commits to multiple git repositories

2012-10-16 Thread blaz
So basically you want to use Jenkins as gatekeeper. Validated merge plugin (http://www.cloudbees.com/jenkins-enterprise-by-cloudbees-features-validated-merge-plugin.cb) from CloudBees is probably what are you looking for. I'm not sure if it is freely available.

Re: 答复: How can jenkins master share slave nodes.

2012-10-16 Thread Shen Hui
Because we have too many jobs (more than 1 thousand) coming from different divisions; we wish each division use a separated master, and all masters can share a slave pool. -- View this message in context: http://jenkins.361315.n4.nabble.com/How-can-jenkins-master-share-slave-nodes-tp4642699p464

Change an 'aborted' build to a 'failed' build

2012-10-16 Thread Michael
When a build is aborted, either manually or by a timeout, then I want to change the status of the build to 'Failed'. I'm using the following code, in the Groovy post build plugin, to change an aborted build to a failed build: if ( hudson.model.Result.ABORTED == manager.build.result ) {

Re: Parameterized CVS Tag Name

2012-10-16 Thread Fred G
Hi, It works for me since I updated the CVS plugin to version 2.6. Regards, Fred On Monday, October 15, 2012 5:28:01 PM UTC+2, Olivier Chorier wrote: > > Hi, > > I'm using 1.486 now, but the problem is still present. > Do I need to clear some cache or to delete and create again the job ? > Is i

Re: Automatic reconnect after manual disconnect.

2012-10-16 Thread Pawel Jasinski
hi, On Mon, Oct 15, 2012 at 5:05 PM, Marek Gimza wrote: > Pawel, > > > As an interim solution, you could have a build step that runs either a > groovy script or the Jenkins-cli to "disconnect-node" and "connect-node" . I have checked with the googles and came back empty handed. API docs do not

Re: Automatic reconnect after manual disconnect.

2012-10-16 Thread Dirk Kuypers
Hi Pawel, 2012/10/16 Pawel Jasinski : > hi, > > > On Mon, Oct 15, 2012 at 5:05 PM, Marek Gimza wrote: >> Pawel, >> >> >> As an interim solution, you could have a build step that runs either a >> groovy script or the Jenkins-cli to "disconnect-node" and "connect-node" . > > I have checked with the

Re: Weblogic deployer plugin 1.3.1 error

2012-10-16 Thread Meghendra Sharma
Thanks Richard. I selected 'Not specified' and it worked. On Thursday, October 11, 2012 9:19:58 AM UTC+5:30, DarkRift wrote: > Look at the section "If the plugin is already configured" at > https://wiki.jenkins-ci.org/display/JENKINS/WebLogic+Deployer+Plugin > > I never used the plugin, but th

Passing arguments while executing script in Jenkins

2012-10-16 Thread Meghendra Sharma
Hi, I am trying to use weblogic deployer plugin. I want the user to enter the weblogic environment before the build. So I used parameterized build. I defined the following parameters TARGET_HOST TARGET_DOMAIN TARGET_PORT TARGET_LOGIN TARGET_PASSWORD These parameters need to be replaced in

Re: Automatic reconnect after manual disconnect.

2012-10-16 Thread Pawel Jasinski
Thanks for the snippet. I will try it with "disconnec()", perhaps when done with API it will act differently --pawel On Tue, Oct 16, 2012 at 3:42 PM, Dirk Kuypers wrote: > Hi Pawel, > > 2012/10/16 Pawel Jasinski : >> hi, >> >> >> On Mon, Oct 15, 2012 at 5:05 PM, Marek Gimza wrote: >>> Pawel, >>>

Embedding parameterized jobs

2012-10-16 Thread Jan
We have a parameterized job to run database integration tests. Each distinct parameter corresponds to a database brand/version/... The regular build ends with triggering jobs for each parameter value. The problem is that the parameterized job aggregates the results of all the different database

Re: Can I restart a job automatically if it fails ?

2012-10-16 Thread Marek Gimza
Steve, Yes this is possible. The plugin you want is : Centralized Job(Re)Action Centralized configuration to restart jobs when a pattern occurs in the job console output. It may not be ideal, but definitely helps!

Re: Accessing file on slave node from email-ext script (groovy)

2012-10-16 Thread Marek Gimza
Bryan, FYI ... have you tried to achieve the same result using JELLY scripting? .. Mgimza On Mon, Oct 15, 2012 at 8:48 PM, Slide wrote: > You probably want to look at the FilePath [1] documentation and use that > in the script. As for modifying the subject, you will need to upgrade to > >2.22

Re: 答复: How can jenkins master share slave nodes.

2012-10-16 Thread Les Mikesell
On Tue, Oct 16, 2012 at 2:29 AM, Shen Hui wrote: > Because we have too many jobs (more than 1 thousand) coming from different > divisions; we wish each division use a separated master, and all masters can > share a slave pool. > One master with 1000+ jobs and 20 slaves doesn't sound like a big pr

Re: 答复: How can jenkins master share slave nodes.

2012-10-16 Thread Marek Gimza
Mikesell, Sorry for responding a bit late, but it is better than not at all! We have a setup where: 1. The Nodes/Slaves are chosen from the master by Node-Label. 2. We use the MultiJob plugin to start all jobs from the master. 3. The WORKSPACE is determined by the parent JOB/BUILD on the master,

Configure Jenkins slave through ssh gateway

2012-10-16 Thread Gergo
Hi, I'm new to Jenkins and have the following problem. What do you think is the best way to configure in a Jenkins slave which is behind a gateway? To reach my test environment I need to go through a gateway. It would be great to somehow configure in the RemoteMachine (which is located behind the

Re: Configure Jenkins slave through ssh gateway

2012-10-16 Thread Andrew Melo
On Tue, Oct 16, 2012 at 12:50 PM, Gergo wrote: > Hi, > > I'm new to Jenkins and have the following problem. What do you think > is the best way to configure in a Jenkins slave which is behind a > gateway? To reach my test environment I need to go through a gateway. > It would be great to somehow c

Re: Configure Jenkins slave through ssh gateway

2012-10-16 Thread Bryan Hunt
Click the advanced button in the slave node configuration. There is a tunnel configuration option for you. On Tuesday, October 16, 2012 10:50:33 AM UTC-7, Gergo wrote: > > Hi, > > I'm new to Jenkins and have the following problem. What do you think > is the best way to configure in a Jenkins sl

Re: JavaMelody to measure NON J2EE System System parameters like % CPU Usage, Mem usage , etc

2012-10-16 Thread Radha Mohan Maheshwari
what you want to monitor? if a web-application than add javamelody.jar in class-path and configure java-meldoy UI with that web-application (for example if your service is running on localhost:8080/shop) On Mon, Oct 15, 2012 at 7:38 PM, Kamal Ahmed wrote: > Hi, > Is there a way for JavaMelody

Re: Automatic reconnect after manual disconnect.

2012-10-16 Thread Pawel Jasinski
hi, the following does disconnect, but it did not change the reconnect behaviour :-( import hudson.slaves.* for (aSlave in hudson.model.Hudson.instance.slaves) { if (aSlave.name == 'excon-34') { println('Enabling NameOfSlave!'); aSlave.getComputer().disconnect(new OfflineCause.ByCLI("X"

Re: Accessing file on slave node from email-ext script (groovy)

2012-10-16 Thread Bryan Hunt
Thanks that is exactly what I needed. I ended up using the following: <% def versionString = "" def channel = null if (build.workspace.isRemote()) { channel = build.workspace.channel } fp = new hudson.FilePath(channel, build.workspace.toString() + "\\Build\\version.txt") if (fp != null) { versio

Re: Accessing file on slave node from email-ext script (groovy)

2012-10-16 Thread Bryan Hunt
Yes... It just really couldn't get jelly script to work to my satisfaction. Probably if I had more experience and better tools loaded my opinion might change but "JellyException: Could not parse Jelly script : null" isn't a particularly enlightening error. On Tuesday, October 16, 2012 8:43:33 A

Collapsing Console Section

2012-10-16 Thread sandy
Hi I'm using Jenkins 1.483 on my Linux box. I have a query regarding the Collapsing console section. My build scripts generates some echo statements like "BEGIN BUILD COMPONENT1" , "END BUILD COMPONENT1", "BEGIN BUILD COMPONENT2" , "END BUILD COMPONENT2", "BEGIN TEST COMPONENT1", etc.. I want