You could also try the flexible publish plugin[1], as a wrapper around the 
email-ext post build step and have the conditions of NOT and buildcause == 
upstream.
if you don't want to have a groovy prestep.

Haven't tried this, it is just a suggestion of an alternative way.


[1] https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin

Chris.


On Wednesday, July 25, 2012 3:34:57 PM UTC+1, slide wrote:
>
> No, only groovy will work. 
>
> On Wed, Jul 25, 2012 at 7:34 AM, Varghese Renny 
> <varghesekre...@gmail.com> wrote: 
> > 
> > Hi, 
> >    i wanted to write a script like canceling the email if build has been 
> > triggered due to upstream project. 
> > Can i use shell script?..i have seen variable cancel. But i don't see 
> any 
> > example for it..Well i am not a groovy guy..Only shell and python i 
> know.. 
> > Somebody please help for presend script.. 
> > 
> > 
> > 
> > Thanks in Advance 
> > varghese 
>
>
>
> -- 
> Website: http://earl-of-code.com 
>

Reply via email to