Re: Jenkins site down?

2012-04-11 Thread Sampo N.
Hi, I'm still trying to resolve the issues of accessing the Jenkins site through the proxy. Our IT department has been looking at the proxies and have found nothing wrong with them. All other websites work perfectly well. Yesterday I investigated the issue further, and it seems that the request

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

Re: Jenkins won't start on Ubuntu

2012-04-11 Thread Ferenc Kovacs
On Wed, Apr 11, 2012 at 9:24 AM, Jason Frankovitz wrote: > 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:

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/ jenkins/jenkin

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 wrote:

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 Jenkin

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 properl

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: """

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 \builds\\injectedEnvVars.txt file co

Re: Is there a bug in the EnvInject plugin?

2012-04-11 Thread shanz
Oh my mistake I had created a hardcoded environment variable in Windows and forgotten about it!

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 jenkin

Re: How to make a shell script quieter?

2012-04-11 Thread Gábor Garami
And you can shut up zip completelly with -qq Garami Gábor gabor.gar...@hron.me Skype: hron84 Tel: +36 20 235 9621 Sent from my T-Mobile G2 Ezt a levelet telefonról adták fel, ékezethibákat tartalmazhat. 2012.04.11. 11:16, "David Aldrich" ezt írta: > Hi > > ** ** > > Some of my Jenkins jobs

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")) warning

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" 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 Darren Syzling
Yes sorry email-ext 2.19 installed. On 11 April 2012 14:05, Slide 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" wrote: >> >> Ulli, >>

Re: Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Darren Syzling
In the meantime I've reverted back to Analysis Collector 1.19. -- Regards Darren On 11 April 2012 14:10, Darren Syzling wrote: > Yes sorry email-ext 2.19 installed. > > > On 11 April 2012 14:05, Slide wrote: >> I hope you mean email-ext 2.19. There is nothing different about the groovy >> im

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 t

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 w

Re: Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Darren Syzling
Ulli, Thanks - at the moment this is a background task and I have a few other pressing things to attend to so can't hookup via IRC today. But yes the warnings are appearing on the build info. And the following works from the script console: cl = getClass().getClassLoader() def warningsClass = cl.

Re: Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Slide
Do you get an exception when you do that in the email template? Also, are you importing the necessary items? I'm thinking that the script console may add some imports by default that the email-ext plugin does not. On Wed, Apr 11, 2012 at 8:02 AM, Darren Syzling wrote: > Ulli, > > Thanks - at the

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 wrote: > Ulli, > > I'd be happy to work on somet

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 wrote: > Hi Gábor Garami, > I have

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 qualif

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 jo

Jelly scripts and commons-jelly-tags-util-1.1.1.jar

2012-04-11 Thread Tony P
Hi, I currently use the following in my email jelly script: Unfortunately I can't guarantee this file will exist and when it doesn't Jelly completely bombs out and virtually nothing shows up. So smart thing to do is test if the file exists and include only if it exists. Far as I can tell th

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 woul

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 wrote: > The section "Using Git, Jenkins and pre-build branch merg

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 20:

Re: pre-build/tested commits

2012-04-11 Thread Thomas Sondergaard
On 2012-04-11 20:48, Thomas Sondergaard wrote: 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

Re: pre-build/tested commits

2012-04-11 Thread Sami Tikka
Probably not. AFAIK there is no way to tell git "this branch is now ready and merged and it will never again receive new commits and it can be deleted" It is always possible to checkout an old branch and add new commits to it. If you are concerned about the large number of branches in the central

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 W

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 certificates

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 sc

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 a

Re: Warnings Plugin and Mail-ext Integration

2012-04-11 Thread Darren Syzling
Thanks for looking into this - replying late but yes I tried explicit imports to no avail. Makes sense that a different class loader was being used. Look forward to testing an updated version when available. Darren On 11 April 2012 21:06, Slide wrote: > Ok, it looks like the groovy script cons

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

Re: Build Pipeline Plugin: does not correctly define the upstream build?

2012-04-11 Thread Geoff Bullen
I haven't been able to recreate this. Could you create a test instance and some test jobs and see if you get the same behaviour? *Geoff Bullen * Centrum Systems Level 8, 5 Elizabeth Street Sydney *0408 659 395 (m) 02 9235 0516 (t)** * http://www.centrumsystems.com.au On Thu, Mar 22, 2012 at 1

Gzip compression of 1.458 in conflict with Cobertura plugin ?

2012-04-11 Thread Didier Durand
Hi everybody, It seems that the gzip compression of pages introduced in 1.458 (see http://blog.cloudbees.com/2012/04/improvements-in-jenkins-you-dont-see.html) is in conflict with cobertura plugin: I can no longer access the nice graphical code coverage results produced by the Cobertura plugin