How to access build parameters in pre-setup script of editable email notification plugin?

2013-05-12 Thread Romu
Hi List, In pre-setup script of editable email notification plugin, the build parameters are not available as environment variables as they are with build scripts. Is there another way to access them? Thanks Romu -- You received this message because you are subscribed to the Google Groups

Doing something else before invoking slave.jar in slave launch script

2012-07-12 Thread Romu
root@192.168.1.100 "uname -a" ssh root@192.168.1.100 "java -jar /root/jenkins/slave.jar" 'uname -a' can be successfully executed but still slave can't be launched, same error as above. I guess it's because stdin/stdout got messed up by other lines before the slave.jar invoking line? Any idea? Thanks in advance. Jenkins version: 1.474 Romu

Re: Stuck with NodeLabel plugin

2012-05-24 Thread Romu
tp://myjenkins.com/job/TestJob/build? But how to do this with python urllib/urllib2? Thanks Romu

Stuck with NodeLabel plugin

2012-05-24 Thread Romu
thParameters?node=lab-node1 or curl -u jenkins:jenkins --data 'json={"parameter": [{"name":"node","value":"lab-node1"}]}&Submit=Build' http://myjenkins.com/job/TestJob/buildWithParameters? By both of the above methods, node can't be passed properly to the job, and you see "(pending - All nodes of label '' are offline )" in build history. Any idea? How to trigger the build with node parameter by python and/ or curl? Thanks Romu

How to trigger build by jenkins http api?

2012-05-22 Thread Romu
is configured to be restricted to run on slave3? will the above triggerings fail? Thanks Romu

How to offline a slave via jenkins API?

2012-05-22 Thread Romu
Hi, Is it possible to offline a slave via jenkins API? I checked http://myjenkins.com/computer/api/ but didn't find any clue. Thanks Romu

Environment variable of name of the slave a build is currently running on

2012-05-17 Thread Romu
hanks Romu

select user to use on a slave

2012-05-17 Thread Romu
Hi, Is it possible to dynamically choose user account to use on a slave? Thanks Romu

Re: How to reboot a slave during a build?

2012-05-17 Thread Romu
Thanks for reply. What do you mean by a bunch of dependant builds? Do you mean 3 build steps in a job or 3 dependant jobs? Thanks Romu On May 17, 1:43 pm, wrote: > CI an OS kernel build? This sounds like a bad recipe to me... but here is how > I would do it. > > I would recomme

Re: How to reboot a slave during a build?

2012-05-16 Thread Romu
Because this is a test job to test linux kernel function, it needs to install kernel packages and reboot to newly installed kernel and then run some test scripts. Thanks Romu On May 17, 1:01 pm, Andrew Melo wrote: > On Wed, May 16, 2012 at 10:59 PM, Romu wrote: > > Hi, > > &g

How to reboot a slave during a build?

2012-05-16 Thread Romu
Hi, How to reboot a slave as part of a build? I found that when the slave reboots Jenkins immediately considers the build as failsure. Any idea? Thanks Romu

Re: Include build duration and log url in email notification

2012-04-30 Thread Romu
I'm using Thunderbird 12, and currently email bodies are viewed as "Origial HTML". I also tried "Simple HTML", it also does not work. Thanks Simon 2012/5/1 Slide : > Did you set the content type to html for your emails? > > On Apr 30, 2012 5:36 PM,

Re: Include build duration and log url in email notification

2012-04-30 Thread Romu
ages/32x32/red.gif"/>BUILD FAILUREBuild URLhttp://mydemoj1:8080/job/testjob1/17/";>http://mydemoj1:8080/job/testjob1/17/Project:testjob1 ... ... Any idea? Thanks Romu 2012/5/1 Romu : > Thanks.  Looks like jelly/groovy is the way to go.  I have no > knowledge of jelly/groovy.  I

Re: Include build duration and log url in email notification

2012-04-30 Thread Romu
> Then you can use either the jelly scripting or groovy scripting > capabilities to access those items. Check the wiki page for email-ext. > > slide > > On Mon, Apr 30, 2012 at 4:52 PM, Romu wrote: >> I'm using "Editable Email Notification". >> >> T

Re: Include build duration and log url in email notification

2012-04-30 Thread Romu
I'm using "Editable Email Notification". Thanks Romu 2012/4/30 Slide : > Are you using email-ext or the default notifier? > > On Apr 30, 2012 8:28 AM, "Romu" wrote: >> >> Hi, >> >> How can I add build duration (I know this is avail

Include build duration and log url in email notification

2012-04-30 Thread Romu
Hi, How can I add build duration (I know this is available through jenkins api) and log url (generated during execution of build script)? Is build duration always available through jenkins api, even when a build just starts? Thanks Romu