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

2012-11-09 Thread AdvanTiSS
jenkins...@googlegroups.com > Cc: AdvanTiSS; Varghese Renny > Subject: Re: Editable Email Notification. How do I set conditional Email > > Are you sure??? > > ExtendedEmailPublisher.java > > private boolean executePresendScript(AbstractBuild

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

2012-11-09 Thread Alex Earl
I'm pretty sure it will take the value of the last expression. Sent from my Windows Phone -- From: AdvanTiSS Sent: 11/9/2012 7:12 AM To: jenkinsci-users@googlegroups.com Cc: AdvanTiSS; Varghese Renny Subject: Re: Editable Email Notification. How do I set condit

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

2012-11-09 Thread AdvanTiSS
it doesnt > > Sent from my Windows Phone > -- > From: AdvanTiSS > Sent: 11/9/2012 12:04 AM > To: jenkins...@googlegroups.com > Cc: Varghese Renny > Subject: Re: Editable Email Notification. How do I set conditional Email > > Pre-send script

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

2012-11-09 Thread Alex Earl
No, it doesnt Sent from my Windows Phone -- From: AdvanTiSS Sent: 11/9/2012 12:04 AM To: jenkinsci-users@googlegroups.com Cc: Varghese Renny Subject: Re: Editable Email Notification. How do I set conditional Email Pre-send script must have return statement if(cause

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()

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

2012-11-08 Thread AdvanTiSS
hese Renny > Sent: 11/8/2012 9:49 PM > To: jenkins...@googlegroups.com > Subject: Re: Editable Email Notification. How do I set conditional > Email Logic? > Hi Tom, > > In presend script you can mention like this.. > > import hudson.model.Cause.UpstreamCause > def caus

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

2012-11-08 Thread Alex Earl
ome output from an app? Sent from my Windows Phone From: Varghese Renny Sent: 11/8/2012 9:49 PM To: jenkinsci-users@googlegroups.com Subject: Re: Editable Email Notification. How do I set conditional Email Logic? Hi Tom, In presend script you can mention like this.. import hudson.model.Cause.Ups

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

2012-11-08 Thread Varghese Renny
gt; logic within the "execute shell" window? There is no way to pass a > variable from the "execute shell" window to the pre-send script.. > > Please Help.. :) > > > > -- > View this message in context: > http://jenkins.361315.n4.nabble.com/Edita

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

2012-11-08 Thread Tom80112
xt: http://jenkins.361315.n4.nabble.com/Editable-Email-Notification-How-do-I-set-conditional-Email-Logic-tp4645626.html Sent from the Jenkins users mailing list archive at Nabble.com.