Editable Email Notification - BUILD_NUMBER - quick question

2014-04-18 Thread mpc8250
Hi All

In Editable Email Notification plugin, it allows for $BUILD_NUMBER of the 
job to be printed.
We have 2 jobs that are chained together. We like to use the first job's 
build number in the 2nd job.
How can we cause Editable Email Notification plugin to use our 
parameterized BUILD_NUMBER from our 1st job ?
Currently, it doesn't print in the email notification of the 1st job. It 
prints the current 2nd job in the email notification.
We also tried injecting env variables plugin with it; it still fails to 
show the right build number from 1st job.

Is there a workaround ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Editable Email Notification - BUILD_NUMBER - quick question

2014-04-18 Thread Slide
Does the first job trigger the second job? If so, pass the build number
from the first to the second as a parameter and then it will be available
as $YOUR_PARAMETER.
On Apr 18, 2014 5:51 PM, mpc8250 mpc8...@gmail.com wrote:

 Hi All

 In Editable Email Notification plugin, it allows for $BUILD_NUMBER of the
 job to be printed.
 We have 2 jobs that are chained together. We like to use the first job's
 build number in the 2nd job.
 How can we cause Editable Email Notification plugin to use our
 parameterized BUILD_NUMBER from our 1st job ?
 Currently, it doesn't print in the email notification of the 1st job. It
 prints the current 2nd job in the email notification.
 We also tried injecting env variables plugin with it; it still fails to
 show the right build number from 1st job.

 Is there a workaround ?

 Thanks

 --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.