Jenkins won't start on Ubuntu

2012-04-11 Thread Jason Frankovitz
Hi Jenkins people, I'm trying to run Jenkins on Ubuntu 8.04.2. Being a Ruby on Rails guy I know zilch about Java but I can tell that Jenkins isn't working :) When I run /etc/init.d/jenkins start, i get this output in the jenkins.log: Running from: /usr/share/jenkins/jenkins.war 11-Apr-12

Plugin warning when restarting jenkins

2012-04-11 Thread Suri
Hi, When I have restarted my Jenkins version 1.424, I have seen the below mentioned warning in my Jenkins log. I dont know what it means. please can any one advice me, what is wrong in my jenkins plug-in, i am using jdk 1.6. i am running jenkins using /var/lib/jenkins -jar /usr/lib/

Re: Plugin warning when restarting jenkins

2012-04-11 Thread Ullrich Hafner
Seems that some previously installed plug-ins are not installed anymore. Try to install the plug-ins buildresulttrigger and postbuildtask. Or, if you don't need these plug-ins, discard the data using the corresponding button in Jenkins management screen. Ulli On 04/11/2012 09:43 AM, Suri

How to make a shell script quieter?

2012-04-11 Thread David Aldrich
Hi Some of my Jenkins jobs run bash shell scripts that are stored in Subversion. The scripts are quite complex and may contain 'for' loops: For example: for Simulation in $SimulationsList_1 do cd $SIM_PATH_1/$Simulation zip -qr $SIM_PATH_1/$Simulation'_'$BUILD_NUMBER * done The

Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Darren Syzling
Regarding the Warnings plugin - is there anyway I can access warning information for the current build from a mail-ext groovy template by using the hudson/jenkins model API? Or would I use the token macro expansion plugin in some way? I was wondering if there was a documented way of gaining access

Re: How to make a shell script quieter?

2012-04-11 Thread wohauser
Jenkins build steps call shell scripts with the option -x, this enables the tracing of the shell script. use set +x in your shell script or at the beginning of the build step script to turn the tracing off again. Normally the noisiness is very helpful to check if the build has done properly

Re: How to make a shell script quieter?

2012-04-11 Thread Zoltan Gyarmati
Hi, it's more a bash question than jenkins, but the point is, Jenkins calls the bash with -x option enabled, which also prints the invoked commands, with a + prefix You can disable it with with the set +x command form your script, try it with this snippet: #!/bin/bash -x echo prints the

Re: Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Ullrich Hafner
I haven't yet done that but it should be possible to access the objects using this method from your script: WarningsResultAction action = getAction(hudson.plugins.warnings.WarningsResultAction) From this object you get the result using action.getResult() Maybe we can work together on making an

Is there a bug in the EnvInject plugin?

2012-04-11 Thread shanz
I am seeing very odd behaviour after using the EnvInject plugin. I have created a job and all it does is print it's workspace path. Somehow the workspace is not as expected and it actually uses another job's workspace instead! What is going on? I notice that the

RE: How to make a shell script quieter?

2012-04-11 Thread David Aldrich
Thanks for both answers, David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Zoltan Gyarmati Sent: 11 April 2012 10:42 To: jenkinsci-users@googlegroups.com Subject: Re: How to make a shell script quieter? Hi, it's more a bash question than

Re: Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Darren Syzling
Ulli, I'd be happy to work on something together. I did however try a few variants but the hudson.plugins.warnings.WarningsResultAction class could not be found, I tried variants of this: warningsResultAction = build.getAction(Class.forName(hudson.plugins.warnings.WarningsResultAction))

Re: Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Slide
I hope you mean email-ext 2.19. There is nothing different about the groovy implementation in email-ext, it uses the same one as the rest of Jenkins. On Apr 11, 2012 5:57 AM, Darren Syzling dsyzl...@gmail.com wrote: Ulli, I'd be happy to work on something together. I did however try a few

Re: Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Darren Syzling
Yes sorry email-ext 2.19 installed. On 11 April 2012 14:05, Slide slide.o@gmail.com wrote: I hope you mean email-ext 2.19. There is nothing different about the groovy implementation in email-ext, it uses the same one as the rest of Jenkins. On Apr 11, 2012 5:57 AM, Darren Syzling

Re: Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Ullrich Hafner
Hmm, that is strange. Classloading should be straight forward. Seems that the installation is corrupt. Is the warnings plug-in showing up in Jenkins? Ulli On 04/11/2012 02:57 PM, Darren Syzling wrote: Ulli, I'd be happy to work on something together. I did however try a few variants but the

Re: Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Ullrich Hafner
When I execute the following in Jenkins script console I correctly find the action of a build: println(hudson.model.Hudson.instance.getItem(Your Job Name).getLastBuild().getAction(hudson.plugins.warnings.WarningsResultAction.class)) BTW: Maybe we can discuss this topic in our IRC channel then we

Re: Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Slide
I also can't seem to get the groovy template to load the WarningsResultAction class. I tried similar things to what you did below. I will see if I can figure out what this is the case. Thanks, slide On Wed, Apr 11, 2012 at 5:57 AM, Darren Syzling dsyzl...@gmail.com wrote: Ulli, I'd be happy

Re: Checkout Failure in Master Slave Configuration

2012-04-11 Thread Gábor Garami
Okay, could you please explain how did you specified credentials for accessing your svn repo? In job? If yes, how? Garami Gábor E-mail: gabor.gar...@hron.me Tel: +36 20 235 9621 MSN: h...@vipmail.hu Skype: hron84 On Wed, Apr 11, 2012 at 8:56 AM, Vinod Kumar kumarvinod...@gmail.comwrote: Hi

Promoted Builds Plugin: Does not automatically promote despite qualifications being met

2012-04-11 Thread Nicky Ramone
Hello. I have the following build sequence with Maven jobs: A -- B -- C and I want to promote A when C has finished successfully. I am tracking fingerprints of the same artifact in all 3 jobs, and I verify that they are correct. When C finishes, the Promotion Status looks fine with met

Re: Getting One Job Invocation Per Git Commit

2012-04-11 Thread Mike Rooney
A late reply, but as this thread appears on Google for trying to solve this problem, I figured I'd post my solution. It isn't great as you can't use the Git plugin, so a new BuildChooser would be superior, but it does result in one build per git commit across all branches. First, modify your

pre-build/tested commits

2012-04-11 Thread Thomas Sondergaard
The section Using Git, Jenkins and pre-build branch merging in the Jenkins Git Plugin page describes how we can make jenkins merge changes on a feature branch to a development branch, run the build and then finally push the changes to the central repository. I'd like to use this, but I have

UNSUBSCRIBE

2012-04-11 Thread Brewster, Mark

UNSUBSCRIBE

2012-04-11 Thread Anton Zavrin
-- * Anton Zavrin *Senior Systems Administrator Mobile: +1 415 608 1035 Phone: +1 415 284 2770 Web: www.myvest.com

Re: pre-build/tested commits

2012-04-11 Thread Thomas Sondergaard
On 2012-04-11 20:14, Thomas Sondergaard wrote: 2. How do you handle the situation, where there is more than one branch undergoing development, ie I may have commits that should be merged to a stable branch and other commits that should be pushed to the master/unstable branch. In both cases I

Re: pre-build/tested commits

2012-04-11 Thread Mirko Friedenhagen
Regarding your first point: https://www.google.de/search?q=git+delete+remote+branch Basically you delete the branch locally and push an empty branch to your remote. Regards Mirko On Wed, Apr 11, 2012 at 20:14, Thomas Sondergaard t...@medical-insight.com wrote: The section Using Git, Jenkins

Re: pre-build/tested commits

2012-04-11 Thread Thomas Sondergaard
I meant, is there a way to automate it? On 2012-04-11 20:48, Mirko Friedenhagen wrote: Regarding your first point: https://www.google.de/search?q=git+delete+remote+branch Basically you delete the branch locally and push an empty branch to your remote. Regards Mirko On Wed, Apr 11, 2012 at

Re: How to make a shell script quieter?

2012-04-11 Thread Sami Tikka
And I'd like to add: If the first line of a shell build step starts with hashbang (#!), then Jenkins will simply drop the script as is into a tmp file and execute it. Otherwise Jenkins copies the script into a tmp file and executes it using /bin/sh -xe /tmp/somefilename And /bin/sh, is just the

Re: Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Slide
Ok, it looks like the groovy script console sets the classloader for the context to Jenkins.getInstance().getPluginManager().uberClassLoader, which the email-ext plugin does NOT do. I will look at updating this and trying it out and if it works, I'll release a new version of email-ext. slide On

Re: Jenkins with iOS development

2012-04-11 Thread Christopher Orr
On 04/02/2012 12:15 AM, Sami Tikka wrote: I am not an iOS developer myself, so I have not run into this problem. Is there anyone here who can verify that adding the SessionCreate setting to orgi.jenkins-ci.plist fixes the problem? Probably this is not the whole solution. The keys and

Re: Hudson timer triggers job for multiple times from time to time

2012-04-11 Thread Christopher Orr
On 04/09/2012 08:41 AM, Nan Cui wrote: Hi, I’m using Hudson v1.363 in my project. There is a disturbing issues troubled me for quite a while. Say I setup a job with a periodical schedule, and then save it. It could be very good chance to see that Hudson triggers the job for 2 or 3 times at the

Re: Mercurial plugin: Cannot run program hg: error=2, No such file or directory

2012-04-11 Thread Chuck Doucette
One of my colleagues helped solve this problem. It appears to me that: 1. Even if you specify the full path to the Mercurial executable in the Mercurial plugin configuration - it is not used. 2. Explicitly setting the environment variable PATH in Global properties also appears to have no

Re: Scheduled build taking presedence in Build Pipeline

2012-04-11 Thread Geoff Bullen
No, as it currently stands if you have a scheduled job it will just kick off a new job and won't be part of the pipeline. You'll need to create a feature request for this... (would be useful though, I agree) *Geoff Bullen * Centrum Systems Level 8, 5 Elizabeth Street Sydney *0408 659 395 (m) 02