Re: groovy script error No such property: manager for class

2012-08-11 Thread Jeremy Kitchen
On Mon, Jul 23, 2012 at 06:05:46PM -0700, Bill Ross wrote:
> Hi Kamal,
> 
> Since your post appeared in google's archive as a continuation of
> my thread, it gives the impression that you were looking at my mail
> then replied with substituting your title for mine. If you didn't do
> that, maybe it's a bug somewhere, my apologies.

it's not. This happens quite a bit. People hit reply, change the
subject, delete the whole message body, and put in their own message,
not aware of the thread-enabling headers they did not delete from the
email.

You could use mutt and break the threads with the # command :)

-- 
Jeremy Kitchen
kitc...@kitchen.io
http://twitter.com/kitchen



signature.asc
Description: Digital signature


Re: Cobertura Plugin - Linking reports from child module

2012-08-11 Thread Peter Miklosko
OK, the problem is that I used cobertura plugin as 



  

  org.codehaus.mojo
  cobertura-maven-plugin
  2.5.1
  

  xml
  html

  

  



Instead it should be as 



  
org.codehaus.mojo
cobertura-maven-plugin
2.5.1

  
xml
html
  
  


  
clean

  cobertura

  

   

  

  

  
org.codehaus.mojo
cobertura-maven-plugin
2.5.1
  
 



 
After this I point Jenkins Cobertura plugin to *core/target/site/cobertura/
coverage.xml*

 



Re: Changing the value for a Maving setting

2012-08-11 Thread domi
The envinject plugin[1]  allows you to use a script to setup your env.
and there is also the the environment script plugin [2] which allows you to do 
the same (why there are two plugins for the same? I have no idea...)
/Domi


https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Environment+Script+Plugin

On 09.08.2012, at 20:25, SamL  wrote:

> Hello Folks.
> 
> 
> I am setting some Maven jobs in Jenkins that need to have a value changed 
> each time it runs.
> 
> So it would look like the following:
> 
> So one of the setting for Goal and options looks like the following:
> 
>  -Dorg.jenkins.job.mercurial.revision=$REV_NUM
> 
> 
> The REV_NUM has to be calculated by the job at build time
> 
> Is there a way for me to set the REV_NUM value  each time a build  runs?
> 
> 
> Running Jenkins: 1.476
> On Linux Ubuntu
> Exporting it as env variable does not work.
> 
> Thank you in advance for the help.



Re: Open github ticket on failure?

2012-08-11 Thread domi
there is a repo where we collect scripts like this: 
https://github.com/jenkinsci/jenkins-scripts
/Domi

On 08.08.2012, at 02:06, Andrew Melo  wrote:

> I actually wrote a python script that pings Jenkins and github. Is there a 
> contrib directory that'd be useful for?
> 
> 
> Andrew Melo
> Sent from my secret fortress.
> 
> On Aug 7, 2012, at 18:58, Christopher Orr  wrote:
> 
>> On 06/05/2012 05:56 PM, Andrew Melo wrote:
>>> Is there a way to have jenkins open a github ticket if a commit fails?
>>> Or would I need to have a custom post-build step for that?
>> 
>> You'd have to write your own script to do that, but you could trigger it 
>> with the "Post build task" plugin:
>> https://wiki.jenkins-ci.org/display/JENKINS/Post+build+task
>> 
>> Regards,
>> Chris