How to execute an action when build is submitted

2014-08-27 Thread Martin d'Anjou
Hi, Is it possible to execute an action when the build is submitted, before it goes in the pending state. Martin -- 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

Trigger build on git merge

2014-08-27 Thread Nicolas Goy
I have two branches, develop and staging. When I push changes to the develop branch, a build is triggered and this works fine. Now, if I merge develop into staging and push the staging branch, jenkins git plugin says there is no change because the commit id of the staging branch matches the co

Question about git polling & "nonexisting_workspace"

2014-08-27 Thread Dunnigan, Terrence J
Hi all, I have a job that polls for changes. When I wipe the workspace the polling stops working and I see this message: Started on Aug 27, 2014 9:20:22 AM No workspace is available, so can't check for updates. (nonexisting_workspace) Done. Took 0.21 sec No changes For this job, "Force polling

RE: Installing Jenkins into a specific directory on Windows using msiexec

2014-08-27 Thread Dunnigan, Terrence J
Hi Luiz, Have you tried manually deleting or moving the existing C:\Program Files (x86)\Jenkins directory and then installing? Terry From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Dirk Kuypers Sent: Wednesday, August 27, 2014 1:05 AM To: jenkinsci

Re: How to execute an action when build is submitted

2014-08-27 Thread Baptiste Mathus
Hi, Never did it myself, but I think you should have a look at the QueueListener: https://wiki.jenkins-ci.org/display/JENKINS/Extension+points#Extensionpoints-hudson.model.queue.QueueListener And If you're looking for real life example, the Priority Sorter Plugin is certainly a candidate for find

Re: Question about git polling & "nonexisting_workspace"

2014-08-27 Thread Vincent Latombe
Hi Terry, I believe options such as "Polling ignores commits in certain paths (path/to/version/file)" require you to poll using workspace. Vincent 2014-08-27 16:42 GMT+02:00 Dunnigan, Terrence J < terrence.j.dunni...@boeing.com>: > Hi all, > > > > I have a job that polls for changes. When I w

Is jenkins needed in test?

2014-08-27 Thread Abe Farhat
We built jenkins and artifactory in Dev and we are currently using it there to build our code. We deployed the code to test and prod systems and everything works fine. Do we need to build the same environment for jenkins and artifactory in test system? what would that benefit us? Thanks -- Y

Verify job config.xml is valid without actually creating a job

2014-08-27 Thread Sean Last
Does jenkins have any way to verify a configuration is valid other than actually creating a job? I've written a bunch of automation around jenkins that generates job configurations and pushes them, and I'd like to add more and better unit tests, but one of the things I don't know how to do is va

NullPointer after upgrade to 1.577

2014-08-27 Thread Christopher Helck
After upgrading from a pretty old version (at least 30 revisions) a large number of jobs don't show up in the browser although the job directories still exist on the server. The log file has tons of errors similar to: Aug 27, 2014 3:43:23 PM jenkins.InitReactorRunner$1 onTaskFailed SEVERE:

Re: Question about git polling & "nonexisting_workspace"

2014-08-27 Thread Mark Waite
Vincent is correct. A workspace is required in order to perform the inclusion / exclusion analysis. The plugin knows that dependency is required, and implicitly requires a workspace for the polling. Mark Waite On Wed, Aug 27, 2014 at 9:02 AM, Vincent Latombe wrote: > Hi Terry, > > I believe

Start Jenkins slave from Windows 7 while master is run with https protocol

2014-08-27 Thread Grace Lee
Has anyone successfully started Jenkins slave via ‘Launch slave agents via Java Web Start’ when master is running in https protocol? We are running Jenkins 1.568 on Linux Centos 5.5. Jenkins suggested the following command to run on slave machine, but I think it’s lack of the cert key. Has anyo

Re: Trigger build on git merge

2014-08-27 Thread Mark Waite
I don't see a way to do that using hooks or polling. As far as I can tell, the git plugin assumes that a SHA1 only needs to be built once. If the typical case is that you push the staging branch and staging and develop are the same SHA1, could you add a build step to one of the branches which run

Re: Installing Jenkins into a specific directory on Windows using msiexec

2014-08-27 Thread Luiz Esmiralha
Hi Dirk, I'm the one who should be sorry for a dumb question! I was using AutoIt to perform the install, removed the #RequireAdmin flag from the script and forgot about it. Thank you, sir. On Wednesday, August 27, 2014 3:04:48 AM UTC-3, Dirk Kuypers wrote: > > Hi Luiz, > > sorry, for the ma

Re: Installing Jenkins into a specific directory on Windows using msiexec

2014-08-27 Thread Luiz Esmiralha
Hi Terrence, Thanks for your answer, but I just "forgot" that I needed admin rights to install Jenkins on the Program Files (x86) folder. Problem detected between keyboard and chair. :) Regards, Luiz On Wednesday, August 27, 2014 11:42:40 AM UTC-3, Dunnigan, Terrence J wrote: > > Hi Luiz, >

maven build on ssh slave hangs at "Parsing POMs" (Jenkins 1.577)

2014-08-27 Thread Aaron Molitor
updated Jenkins to 1.577 last weekend, and now no builds work. I have tried reverting back to 1.575 and back to 1.565.1 (LTS), default plugin versions included, and get same result. I am struggling to find and answer after three solid days of digging. I am now looking for a way to see what ha