Re: Fingerprinting

2012-11-08 Thread AdvanTiSS
Fingerprinting process based on md5 checksum calculation using java.security.DigestInputStream on each file targeted for fingerprinting. You can read some information about md5 algorithm performance here - [Secure hash functions in

Re: How to get the result of the triggered job in one email

2012-11-08 Thread AdvanTiSS
You can try email-ext plugin On Wednesday, November 7, 2012 2:21:19 PM UTC+2, Sven Finsterwalder wrote: Hello, i have one question. In my jenkins there is one job which starts with a parameter two other build-jobs. The Job will fail if one of the triggered jobs fails and send one email.

Re: job/api/json doesn't list running jobs anymore

2012-11-08 Thread AdvanTiSS
Similar problem - after updating from 1.477 to 1.487 - running builds don't appear in build executor status on Jenkins dashboard. I suspecting [throttle-build-concurrency] and [nodelabel-parameter] plugins also. On Wednesday, November 7, 2012 11:13:12 AM UTC+2, Lukas Rytz wrote: Hi,

Re: job/api/json doesn't list running jobs anymore

2012-11-08 Thread Lukas Rytz
I have the Throttle Concurrent Builds Plug-in installed as well, but not the NodeLabel Parameter Plugin On Thursday, November 8, 2012 9:22:59 AM UTC+1, AdvanTiSS wrote: Similar problem - after updating from 1.477 to 1.487 - running builds don't appear in build executor status on Jenkins

Re: Groovy script to abort current build and skip other action of the job

2012-11-08 Thread AdvanTiSS
build.getExecutor().interrupt(); On Monday, November 5, 2012 8:51:07 AM UTC+2, dthomas wrote: bump :-) Since the user can trigger that kind of command via the UI there should be some corresponding API for that, right? I only found methods with Stapler request and response objects as

Re: Groovy script to abort current build and skip other action of the job

2012-11-08 Thread Dirk Thomas
As mentioned in my original post both of the following will mark the build as failed (not aborted) and will also process all further build actions: build.getExecutor().interrupt() build.getExecutor().interrupt(Result.ABORTED) Especially that the second line marks the build as failed I would

Re: Jenkins failed to record SCM polling

2012-11-08 Thread KP
Exactly the same issue, but with (old built-in 1.x) CVS plugin. Issue went away after revert tot 1.488. After the lazy loading problem made jenkins unusable, now this... It seems the stability of the jenkins updates is getting very bad lately. 2 bugs completely breaking jenkins, only in a

Re: Groovy script to abort current build and skip other action of the job

2012-11-08 Thread AdvanTiSS
Since the user can trigger that kind of command via the UI there should be some corresponding API for that, right? Stopping via UI executes the same [build.getExecutor().interrupt()], so you may have same problems with aborting builds from UI. Also, want notice that after upgrading from 1.477

multi configuration project and xunit post build task

2012-11-08 Thread Simon Haegler
hi fellow jenkins users we have a multiconfiguration project where one axis reads release, development, testing. in case of testing we're compiling and running unit tests (boost unit tests, actually). we would like to use the xunit post-build task to report the test results, but we need xunit

Re: Fingerprinting

2012-11-08 Thread Qazwart
I understand how the fingerprinting process works and I use it to mark our jars, wars, ears, and zips. However, I was thinking of fingerprinting every file in a zip for every build. This way, we can trace back each file when the archive is unzipped and its contents scattered. That could mean

Utilizing the parameter http post to provide a ClearCase UCM Baseline

2012-11-08 Thread Ronan Mulvaney
Hi, I am trying to trigger a build set up to use a specified ClearCase UCM Baseline from Ant in a previous build. To do this I am trying to use the buildWithParameters url. Has anyone any experience for getting this working or the correct URL format for this? I have the post happening fine

Cron Style Syntax for Overnight Builds for Non-Consecutive Hour Ranges

2012-11-08 Thread Chris Wozny
All, I'm wondering if anyone has come up with a syntax to stagger builds/poll SCM with the 'H' syntax between hours which aren't technically in the same day. I'd like to stagger builds between 10 pm and 4 am of the next day and I tried: H H(22-23,0-3) * * * But it complains that there should

Invitation to use Google Talk

2012-11-08 Thread Google Talk
--- You've been invited by Xavier Nodet to use Google Talk. If you already have a Google account, login to Gmail and accept this chat invitation: http://mail.google.com/mail/b-8e6841b8d7-1d3bfbadfe-3nCaUO8hxg9MBgYcxJE0t-IrgHs

Moving the workspace of an agent

2012-11-08 Thread Xavier Nodet
Hello I would like to change the location of the workspace for some of the agents in our Jenkins 1.456 installation. Here's what I tried: - disconnect the node - let /old/FS/location be the configured FS path for the node - mv /old/FS/location/workspace /new/FS/location - change the configuration

disable email notifications

2012-11-08 Thread Patrick Byrne
Hello, How can I suppress sending of email notifications in Jenkins, please? Committers to a job are being automatically notified when a job fails, I want to turn it off for now and I cannot see a configuration option for it. Thanks, Patrick

RE: disable email notifications

2012-11-08 Thread Patrick Byrne
I see that I could remove the 'Send email notification' for each job, but I am setting up a large number of existing jobs on a new server, and I want to globally disable all email notifications while I set up the environment correctly such that large numbers of jobs do not fail and spam

Re: Fingerprinting

2012-11-08 Thread AdvanTiSS
After digging code deeper, i've found that fingerprints are instances of SoftReferenceFingerprint class From javadoc: ** Soft reference objects, which are cleared at the discretion of the garbage* * * collector in response to memory demand. Soft references are most often used* * * to

Re: Moving the workspace of an agent

2012-11-08 Thread Michaël Pailloncy
Each build keeps the workspace location in build.xml. I'm not sure if it's possible, but you could try to use a Groovy script with the Groovy console to iterate over all builds of all job and try to change this value with the new one. I hope this tip can help you. Michaël 2012/11/8 Xavier Nodet

Re: disable email notifications

2012-11-08 Thread Josselin Pierre
If you don't want to touch to the jobs themselves, there is another quick and dirty workaround : - install a simple mail server somewhere (James, for example) - configure it to intercept all the mails, storing them somewhere or deleting them on the fly - configure Jenkins to use that mail server.

Re: Moving the workspace of an agent

2012-11-08 Thread Xavier Nodet
Hmm... It actually appears twice: ?xml version='1.0' encoding='UTF-8'? build actions ... hudson.plugins.git.GitTagAction ... ws[full path to the workspace]/ws /hudson.plugins.git.GitTagAction /actions ... workspace[full path to the workspace]/workspace I suppose

Re: Jenkins failed to record SCM polling

2012-11-08 Thread Mark Waite
You could consider switching to the long term support release.  It arrives about once every three months and remains stable for those three months. Mark Waite From: KP koen.pollent...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Thursday, November 8,

Copy/Replicate jobs in Hudson - How - Quick question

2012-11-08 Thread Z W
Hi All We have a long list of jobs that we like to copy/replicate over to a new Hudson server. Are the steps/documents that we could follow to help us accomplish that ? Reconfigure jobs by hand is too prone to mistakes. Thanks

Re: Copy/Replicate jobs in Hudson - How - Quick question

2012-11-08 Thread Mark Waite
You could pass the job definition file from the original server to the Jenkins command line interface create-job command and let it create the job for you. Refer to http://jenkins.361315.n4.nabble.com/create-jobs-td2320262.html for a past e-mail exchange on the topic. Mark Waite

Re: Copy/Replicate jobs in Hudson - How - Quick question

2012-11-08 Thread Mark Streit
Not sure this is the *recommended *practice but we had a machine where we had an old Hudson installation and a new Jenkins installation. We were able to do something like this in script that looped through a list of job names: cp -R /your_hudson_root/.hudson/jobs/${job}

Re: Cron Style Syntax for Overnight Builds for Non-Consecutive Hour Ranges

2012-11-08 Thread Arnaud bourree
Hi, You may put two lines to get two ranges My 2 cents Arnaud. 2012/11/8 Chris Wozny cwo...@gmail.com: All, I'm wondering if anyone has come up with a syntax to stagger builds/poll SCM with the 'H' syntax between hours which aren't technically in the same day. I'd like to stagger builds

ec2-plugin error when adding EC2 private key for one key, but not another

2012-11-08 Thread kallen
Hello, I'm trying to use the ec2-plugin to launch ec2 slaves, but am failing when it comes to adding EC2 Key Pair's Private Key.I add the private key, and when I press the Test Connection button, I get the error The EC2 key pair private key isn't registered to this EC2 region (fingerprint is

Re: Groovy script to abort current build and skip other action of the job

2012-11-08 Thread Dirk Thomas
I am running 1.488 and can abort builds via UI. But invoking the following function in a groovy script: build.getExecutor().interrupt(Result.ABORTED) does not cancel the build but run in to the end (including all following build actions) and marks the build as FAILED. - Dirk On 08.11.2012

Memory issues with Jenkins

2012-11-08 Thread Qazwart
At first, I was getting Out of Heap errors and increased the server's memory requirements to 1024m. Now I have a FATAL: GC overhead limit exceeded error. I'm running Jenkins 1.476 on a Redhat server running on Tomcat 7.0.27. I have the following options set: -Xmx1024m -Xx:PrintGCTimeStamp

NoSuchRealmException on a basic maven job

2012-11-08 Thread Remi Carton
Hello, I am having trouble getting my maven job to work, even though it is a basic setup: - jenkins 1.489 (no slaves) on linux - tomcat 5.0 - jvm: 1.6.0_03-b05 - maven plugin 1.489 and this is for a maven 2.2.1 build. I tried installing Maven with both a manual install and the automated

Re: job/api/json doesn't list running jobs anymore

2012-11-08 Thread AdvanTiSS
I've found out today that if job config has [throttle concurrent] property disabled but has ThrottleJobProperty node in xml - it does'nt appear in executor status sidepanel. On Thursday, November 8, 2012 10:28:41 AM UTC+2, Lukas Rytz wrote: I have the Throttle Concurrent Builds Plug-in

Re: ec2-plugin error when adding EC2 private key for one key, but not another

2012-11-08 Thread kallen
Heyooohh! Problem worked around thanks to https://issues.jenkins-ci.org/browse/JENKINS-15389 I regenerated my key using AWS console. Now it works. On Thursday, November 8, 2012 1:11:02 PM UTC-8, kallen wrote: Hello, I'm trying to use the ec2-plugin to launch ec2 slaves, but am failing when

Re: Cron Style Syntax for Overnight Builds for Non-Consecutive Hour Ranges

2012-11-08 Thread Chris Wozny
If I put two lines with two ranges, will that not kick off a build for each line? And also, how will the staggered build with the 'H' syntax be calculated if there are two lines? On Thursday, November 8, 2012 2:47:15 PM UTC-5, Arnaud wrote: Hi, You may put two lines to get two ranges My

Editable Email Notification. How do I set conditional Email Logic?

2012-11-08 Thread Tom80112
Inside my execute shell window I perform script logic. Based on the results within the execute shell window, I may or may not want to send email via the Jenkins Email Extension Plugin. I have read that I can set up a pre-send script to cancel email being set up by setting cancel=true. My

Choice list of all projects with Dynamic Choice Parameter

2012-11-08 Thread Bill Wonch
Hi everyone - I'm trying to get a list of all Jenkins projects into a Dynamic Choice Parameter for a job I need to create. Anyone done anything like this before? Thanks! Bill

Re: disable email notifications

2012-11-08 Thread domi
This would be a once script for: https://github.com/jenkinsci/jenkins-scripts/tree/master/scriptler Interested in adding, just send a pull request? /Domi On 08.11.2012, at 16:02, Xavier Nodet xavier.no...@gmail.com wrote: I used the script below to replace the standard mail notifier with

Re: Editable Email Notification. How do I set conditional Email Logic?

2012-11-08 Thread Varghese Renny
Hi Tom, In presend script you can mention like this.. import hudson.model.Cause.UpstreamCause def cause = build.causes.find { if(it instanceof hudson.model.Cause.UpstreamCause) { return true } return false } if(cause) { cancel=true } I don't know how it cancel

Re: NoSuchRealmException on a basic maven job

2012-11-08 Thread Varghese Renny
Hi, This error usually occur because of missing project dependencies that you define on pom.xml. Like jar file missing or adding dependencies which contain the class file it's looking for..You need to analyze it correctly.. Another cause can be jvm is not able to load full class

Re: Memory issues with Jenkins

2012-11-08 Thread Varghese Renny
Hi David, You have to set JVM in two places, one for system, one for the particular job you are running..check it out..I think 2GB memory is more than enough for one job..You can analze it through monitoring plugin.. Options are you can dump your heap memory to some location in your system

RE: Editable Email Notification. How do I set conditional Email

2012-11-08 Thread Alex Earl
Logic? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044306707d987804ce08ac46 --f46d044306707d987804ce08ac46 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Also what do you mean based on the results? Based on the return code? Based on some output

Re: Editable Email Notification. How do I set conditional Email

2012-11-08 Thread AdvanTiSS
Pre-send script must have return statement if(cause) { cancel=true } return cancel On Friday, November 9, 2012 7:31:34 AM UTC+2, slide wrote: Logic? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044306707d987804ce08ac46 --f46d044306707d987804ce08ac46

Re: Editable Email Notification. How do I set conditional Email

2012-11-08 Thread AdvanTiSS
And the simpliest way is to create some output file in shell script if sending approved. And pre-send will do something like cancel = new File(workspace, fileName).exists()

Single email notification from a muti-configuration project

2012-11-08 Thread Chaitanya Jandhyala
We currently use email-ext plugin for enabling email notifications on builds. We see that the users are receiving mutiple notifications if the project is configured as a muti-configuration project. Is there a way to send a single email instead. Jenkins version1.404 Email-ext version 2.14

Re: How to get the result of the triggered job in one email

2012-11-08 Thread Sven Finsterwalder
thank, i try it but i havent found any possibilty to add content from another job to the mainjob Am Donnerstag, 8. November 2012 09:19:30 UTC+1 schrieb AdvanTiSS: You can try email-ext plugin On Wednesday, November 7, 2012 2:21:19 PM UTC+2, Sven Finsterwalder wrote: Hello, i have one