Re: "build periodically" stops triggering builds?

2012-04-17 Thread Tomi N/A
I've got new information in case it helps. We've noticed the problem on a subset of code analysis jobs, i.e. they wouldn't run as scheduled. However, at one point, Jenkins stopped listing these jobs in the web interface altogether. I checked the /jobs folder on the server and all the jobs were ther

Queue builds and execute them at certain times

2012-04-17 Thread Manuel Doninger
Hello, is it possible (with a plugin etc.), to queue a build with some parameters, but not to execute this build at start time, but later? E.g. we need to restart a WebSphere web application this evening. Now we want to have one build job, which takes the application name and the build time as para

svn confusion

2012-04-17 Thread shanz
I am using the svn check-out strategy - "Emulate clean checkout by first deleting unversioned/ignored files, then 'svn update'". Before this Emulated Checkout Job is called it is unsafe to assume the location of the working copy folder is known. So the working copy could be be pointing to (possi

Re: svn confusion

2012-04-17 Thread Jan Seidel
I have discarded the idea of an emulated clean checkout completely. I used it in the beginning for all jobs until a non-critical showed a bad behaviour. The files weren't updated reliable. It was a job for creating release notes. Later did we have the same issue with a build job were committed chan

Re: Queue builds and execute them at certain times

2012-04-17 Thread Jan Seidel
HI Manuel, what about something like PING 1.1.1.1 -n 1 -w 36 >NUL to let the job wait for the ping before continuing. In this example 1 hour. Take care Jan On Apr 17, 11:58 am, Manuel Doninger wrote: > Hello, > is it possible (with a plugin etc.), to queue a build with some > parameters,

Re: After upgrade Jenkins stuck with "Please wait while Jenkins is restarting"

2012-04-17 Thread blaz
On Windows Jenkins has to restart service that is hosting it. What you are describing will happen when this service executes under account that does not have enough privileges to restart the service. Check Jenkins log files (jenkins.err.log). You will probably see something like this: 29.3.2011

Re: After upgrade Jenkins stuck with "Please wait while Jenkins is restarting"

2012-04-17 Thread Ido Ran
Thank you, I am running Jenkins service under account created specifically for this. I will add the privileges and see if it fixes the problem. Thank you, Ido. On Tue, Apr 17, 2012 at 1:57 PM, blaz wrote: > On Windows Jenkins has to restart service that is hosting it. What you are > describing

Re: Don't rerun passed builds

2012-04-17 Thread blaz
I encountered similar problem when clock on Subversion repository was ahead of clock on Jenkins server. I'm guessing you may be experiencing similar problems with Git. If you don't have control over clock on SCM server, you can always increase Jenkins quiet period to exceed time difference. This

Fails on maven dependency resolution

2012-04-17 Thread sebastian.st...@softwareag.com
Hi, I'm trying to set up Jenkins on a complex Maven 3 project. Before doing so, I tested a simple project like https://github.com/codebrickie/GWT-Java-EE-6-Integration, which is running fine. I can download Git source, run the jenkins build and I also connected Sonar to it. An example of a more

jelly:util tag is missing

2012-04-17 Thread Odi
I encounter a problem i don'k know to overcome... I'm kind of new in jelly, so i'm stack for a day (!!!) don't know how progress. i'm trying to use jelly:util tag in email-ext plugin, and I get null Exception. please help!!! I'm trying to check if some image-uri exist, and if so - add it to

RE: Fails on maven dependency resolution

2012-04-17 Thread Stein, Dr. Sebastian
> -Original Message- > From: jenkinsci-users@googlegroups.com [mailto:jenkinsci- > us...@googlegroups.com] On Behalf Of Vincent Latombe > Sent: Dienstag, 17. April 2012 13:55 > To: jenkinsci-users@googlegroups.com > Subject: Re: Fails on maven dependency resolution > > this is a Maven usage

Re: svn confusion

2012-04-17 Thread shanz
I think I've come to a decision. I will try and continue to use the Check-out Strategy, "Emulate clean checkout..." since it is a nice way to delete unversioned files which could be tricky otherwise. I will encapsulate the Emulate clean checkout in a separate 'function' job. The initial job will

Re: Queue builds and execute them at certain times

2012-04-17 Thread Manuel Doninger
That might be a workaround, but then the executors would be blocked. So some sort of a queue would be better. Or does someone have a suggestion for external tools, which provides such a functionality? Manuel On Tue, Apr 17, 2012 at 12:28, Jan Seidel wrote: > HI Manuel, > > what about something l

Re: Queue builds and execute them at certain times

2012-04-17 Thread Vincent Latombe
You can actually give a delay when launching a build (when launching manually it usually 0sec to skip any quiet period), so it should be possible. However, I don't know any existing plugin that implements this for now. I'm guessing you would need a new kind of Parameter that would be able to set th

Re: Queue builds and execute them at certain times

2012-04-17 Thread Les Mikesell
On Tue, Apr 17, 2012 at 7:07 AM, Manuel Doninger wrote: > That might be a workaround, but then the executors would be blocked. > So some sort of a queue would be better. > Or does someone have a suggestion for external tools, which provides > such a functionality? > Why not just use the cron-like

Problem with apache, pam auth, and jenkins

2012-04-17 Thread Fabricio Cannini Flores
Hi there I'm trying to setup the above mentioned scenario, but after a couple of days head-banging the wall, i can't make the dreaded user/password box show up. I have some users in the passwd file which I'd like to use to authenticate and authorize the access to a given url. Please accept my apol

Re: Don't rerun passed builds

2012-04-17 Thread fREW Schmidt
On Tue, Apr 17, 2012 at 6:16 AM, blaz wrote: > > I encountered similar problem when clock on Subversion repository was > ahead of clock on Jenkins server. I'm guessing you may be experiencing > similar problems with Git. > If you don't have control over clock on SCM server, you can always > increa

preventing use of certain nodes in matrix jobs

2012-04-17 Thread Brian J. Murrell
I have my builders labeled with labels like: builder1: x86_64 el6 builder2: x86_64 el5 builder3: i686 el6 builder4: i686 el5 I then make matrix-build jobs that have axes (called "arch" and "distro", respectively) for x86_64/i686 and el5/el6 and then let jenkins figure out which nodes to run the m

Amazon EC2 Plugin

2012-04-17 Thread Nitin Shukla
Hi, I am using Jenkins ver. 1.460 and Amazon EC2 plugin 1.14. I am geeting error:- 17-Apr-2012 17:34:15 hudson.plugins.ec2.EC2Cloud$DescriptorImpl doTestConnection WARNING: Failed to check EC2 credential com.xerox.amazonws.ec2.EC2Exception: Number of retries exceeded : DescribeInstances I did

Re: jelly:util tag is missing

2012-04-17 Thread Tony P
I have had the exact same problem and frustration. It is because Jenkins doesn't come with all the Jelly tag libraries including Util. I run Jenkins from Tomcat and the only slightly satisfactory way I have found it to work is to put the Util jar file in exploded Jenkins war directory /wwwroot/jen

Re: svn confusion

2012-04-17 Thread Tony P
I never trust this type of thing, I guess I’m just a pessimist at heart J I take a different approach, I checkout my code to a structure similar to “/myjob/clean/myproject/src/” and then I mirror this to “/myjob/ build/myproject/src/” using Windows Robocopy. The mirroring means it removes

Re: clean up maven repo in Jenkins slave

2012-04-17 Thread domi
Jason, if you talk about jenkins home, there are two homes you have to think about: - JENKINS_HOME, this is where the config of Jenkins will be, have a look here: https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins - Home of the user Jenkins is running with: this depends on the syst

Help debugging issue with cloned workspace

2012-04-17 Thread Stephen Lacy
Hi, Our jenkins (1.460) build of a Python+Django setup just started failing with a fairly mysterious error. The build is 2 jobs, one to checkout and setup (via virtualenv) our envionment. It then uses the "Archive for Cloned Workspace SCM" to archive this workspace. The 2nd job uses the cl

Re: overallLoad API always empty

2012-04-17 Thread grayaii
Sorry to revive such an old thread, but out of curiosity, has this ever been resolved? I'm not sure if it's related, but the "Load Statistics" page of Jenkins always shows Queue Length of zero. I've never seen it other than 0. We always have stuff on our queue, but regardless if we click "Short/

Maven does not fail builds whit test failures.

2012-04-17 Thread Erick Dovale
Folks, I am seeing the maven plugin is acting weirdly when there are test failures. I have some post build steps defined with the option to run only when build succeeds checked and they still run. Has any one experience this problem? I am running jenkins 1.459. Thanks. Erick.

Re: Help debugging issue with cloned workspace

2012-04-17 Thread Stephen Lacy
Well, nevermind. Seems to be an instance of bug 13280. https://issues.jenkins-ci.org/browse/JENKINS-13280 I've changed my second job to just use the same workspace dir as the first job, and I'm passing tests now. Steve On Tuesday, April 17, 2012 11:47:04 AM UTC-7, Stephen Lacy wrote: > > H

Hiding Node Information

2012-04-17 Thread SamL
Hello Folks, Does anyone know how to hide Node information for regular users? I would like the node information to be available only to those with admin rights/privilages. Thanks SamL

RE: Hiding Node Information

2012-04-17 Thread Perrier, Nathan
I smell a plugin! From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of SamL Sent: Tuesday, April 17, 2012 6:11 PM To: jenkinsci-users@googlegroups.com Subject: Hiding Node Information Hello Folks, Does anyone know how to hide Node information for r

Re: Queue builds and execute them at certain times

2012-04-17 Thread Laura
I wonder if the following would work. I have a similar use case coming up where I want to run a job in the wee hours of the morning, but not until triggered manually, with parameters, by a human being during work hours. I'm going to try the following: The job that will run in the wee hours will