maven project: dynamic goal (-P ) computed after an SCM checkout

2012-10-25 Thread Jaime Gago
Hey there, I haven't been able to figure this out hopefully somebody on the list has already solved that problem! Here we go: I have a Maven project with git as the SCM and I need to pass a variable to the "Goal and options" in the build step to the -P flag (profiles), the value of that varia

Re: Violations plug-in not showing errors or source

2012-10-25 Thread Daniel Becroft
Thu, Oct 25, 2012 at 8:29 PM, Alex wrote: > On Jan 27, 3:07 am, Daniel Becroft wrote: > > Hi, > > > > Since upgrading to a recent release (currently on 1.448, but it was > > happening before that), the Violations plugin is no longer generating the > > detail page(s) for each source code file. Th

RE: jenkins plugin for sona type repository manager

2012-10-25 Thread Zerbe, John W
I have not seen a "Jenkins" plugin for nexus, but you can publish to the nexus repo from maven itself. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Rajagopal, Sampath Sent: Saturday, October 06, 2012 3:22 PM To: jenkinsci-users@googlegroups.com Su

Re: Git commit id for a build in email-ext script

2012-10-25 Thread Slide
On Thu, Oct 25, 2012 at 12:10 PM, Xavier Nodet wrote: > On Thu, Oct 25, 2012 at 8:54 PM, Slide wrote: > >> >> On Thu, Oct 25, 2012 at 11:44 AM, Xavier Nodet wrote: >> >>> How to go from an AbstractBuild to the git Id? >>> >> >> Is it part of the build variables? build.buildVariables is a Map> Str

Re: Git commit id for a build in email-ext script

2012-10-25 Thread Xavier Nodet
On Thu, Oct 25, 2012 at 8:54 PM, Slide wrote: > > On Thu, Oct 25, 2012 at 11:44 AM, Xavier Nodet wrote: > >> How to go from an AbstractBuild to the git Id? >> > > Is it part of the build variables? build.buildVariables is a Map String>. > The map is empty when I ask for it in the script. build.b

Unable to get grails plugin to work with proxy

2012-10-25 Thread Scott Ryan
I have installed the grails plugin within the latest jenkins and I have configured the location of the grails installation. I am running from within tomcat as a war. I do have to use a proxy to run grails which I can do by hand on the box. However I can't even get grails to run at all and the

Re: Git commit id for a build in email-ext script

2012-10-25 Thread Slide
On Thu, Oct 25, 2012 at 11:44 AM, Xavier Nodet wrote: > Hello, > > I am starting to use email-ext, editing the provided groovy-text. template. > In the general case, how am I supposed to determine what git ID was used > for the build (assuming the build uses Git, of course...) > > I know how to ge

CPU pegged in stapler - zip depflater

2012-10-25 Thread swerner
Hi, My jenkins instance was a little slower to respond this morning, I thought maybe a bunch of jobs were running at the time, but the run queue was empty. top showed the process running at 700%, basically 7 threads pegging a core. Each was hung in the following code: "RequestHandlerThread[#1

Re: Build based on tag

2012-10-25 Thread letstestthis
Sorry about that, I just had to trigger a new build and then this worked fine. On Thursday, October 25, 2012 11:20:51 AM UTC-3, letstestthis wrote: > > This is exactly what I was looking for, I have installed this plugin. The > only issue I am having is that I cant for some reason actually appr

Re: Build based on tag

2012-10-25 Thread letstestthis
This is exactly what I was looking for, I have installed this plugin. The only issue I am having is that I cant for some reason actually approve the build :). I put myself as approver but for some reason there is no option. Any idea what I may be doing wrong here? On Wednesday, October 24, 20

RE: calling perl scripts from jenkins

2012-10-25 Thread Stanley, Jason
What user account do you have Jenkins running as? If it’s running as “Local System” change it to an actual user account. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Levin, Ilya Sent: Thursday, October 25, 2012 8:20 AM To: jenkinsci-users@googlegr

Re: calling perl scripts from jenkins

2012-10-25 Thread Mark Waite
Usually that means the environment in which Jenkins is executing does not know the path to the perl installation. Create a job, assign it an action to echo %PATH% and then you can see the environment which Jenkins is running. > > From: "Levin, Ilya" >To: "jen

Re: calling perl scripts from jenkins

2012-10-25 Thread mitesh makhija
Hi, Through windows cmd, I execute perl script like: perl test.pl and export the installed perl binary in environment variable. In perl script, we give our perl statements. if we are able to execute the perl script through cmd, we should able to do it through Jenkins also. and we can also define

RE: calling perl scripts from jenkins

2012-10-25 Thread Levin, Ilya
That is exactly what I did. The problem is that Jenkins doesn’t recognize the perl command. I have Perl on my machine, i can run the command via command line. Somehow I need to show Jenkins where perl is. (tried with Env Variables – doesn’t work). Thanks again. From: jenkinsci-users@googlegroups.

Re: calling perl scripts from jenkins

2012-10-25 Thread mitesh makhija
Hi, Create a job. Through build, add build step, you can use either Execute windows batch command or Execute Shell. If I select Execute Windows Batch Command, In command I can call perl script. perl c:/test.pl Thanks, Mitesh On Thu, Oct 25, 2012 at 5:35 PM, Levin, Ilya wrote: > Hi, > > *

calling perl scripts from jenkins

2012-10-25 Thread Levin, Ilya
Hi, Seems to be quite a simple task but still unable to achieve this. How can I call a perl script from inside Jenkins? Thanks

Re: Violations plug-in not showing errors or source

2012-10-25 Thread Alex
On Jan 27, 3:07 am, Daniel Becroft wrote: > Hi, > > Since upgrading to a recent release (currently on 1.448, but it was > happening before that), the Violations plugin is no longer generating the > detail page(s) for each source code file. The code reports are successfully > being parsed, and the

Re: Windows batch file error when run from Jenkins

2012-10-25 Thread Martin G. Smith
I resolved this problem. The program causing the errors has an option to direct the program to a specific database. Using this option allows the program to access the correct database even when run from Jenkins. Thanks for all the help!!

slave on different timezone immediate ping time out exception after upgrading from 1.477 to 1.486

2012-10-25 Thread David Gang
Hi, We have a slave which is on a different timezone 7 hours behind us. When i run the job i get an immediate error at hudson.FilePath.act(FilePath.java:847) at hudson.FilePath.act(FilePath.java:824) at hudson.FilePath.mkdirs(FilePath.java:962) at hudson.model.AbstractPro

Re: Clone Workspace SCM tar vs. zip

2012-10-25 Thread Frank Bølviken
Hi, Did you manage to resolve this? I'm currently having the same issues... Was using the tar zipping, but that was so slow, that I wanted to try Zipped. But workspace.zip won't be created. Frank On Monday, 6 February 2012 11:08:51 UTC+1, Dirk Kuypers wrote: > > Hi, > > I just upgraded the Clon

Continuous Build

2012-10-25 Thread לר ש
I created one more job named continousBuild. This job check out the base svn url http://sources/svn/Repos/Trunk/aggregation, and then run the three jobs on the working directory - using trigget/call build on other projects. I configured the continousBuild poll scm to work every minute (* *

RE: Rest API for view manupulation

2012-10-25 Thread David Mata Gorriz
Thank you. It returns OK now, but the view keeps the same configurarion. -Mensaje original- De: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] En nombre de Daniel Beck Enviado el: miércoles, 24 de octubre de 2012 19:41 Para: jenkinsci-users@googlegroups.com Asu

RE: Rest API for view manupulation

2012-10-25 Thread David Mata Gorriz
Not for posting data. Thank you, Daniel. With auth-no-challenge I get "http 200" but old data keeps being there. -Mensaje original- De: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] En nombre de Daniel Beck Enviado el: miércoles, 24 de octubre de 2012 19:41

Re: Windows batch file error when run from Jenkins

2012-10-25 Thread Martin G. Smith
On Wednesday, October 24, 2012 5:30:16 PM UTC+2, slide wrote: > > > > On Wed, Oct 24, 2012 at 7:24 AM, Martin G. Smith > > > wrote: > >> I have a Windows batch file that has no problems running from my command >> shell. But when I try to run the script from Jenkins, it always returns an >> err