Thanks!
To get what I needed I had to use this syntax:
build("SendEmail", JOB1_ID : b1.build.number, JOB2_ID : b2.build.number,
> JOB3_ID : b3.build.number)
But otherwise this worked great. I just created a job called "SendEmail"
which has only one step: Editable Email Notification. In the body of the
email I formatted my S3 links and included the variables as follows:
http://somelink.amazonaws.com/bucket/job1-filename-$JOB1_ID.apk<http://somelink.amazonaws.com/bucket/job1-filename-234.apk>
http://somelink.amazonaws.com/bucket/job2-filename-$JOB2_ID.apk<http://somelink.amazonaws.com/bucket/job1-filename-234.apk>
etc...
Curtis
On Tue, Sep 24, 2013 at 5:03 PM, Slide <[email protected]> wrote:
> b1 = build("job1")
> b2 = build("job2")
> b3 = build("job3")
>
> build("SendEmail", JOB1_ID : b1.id, JOB2_ID : b2.id, JOB3_ID : b3.id)
>
>
> On Tue, Sep 24, 2013 at 4:26 PM, Curtis Kline <[email protected]> wrote:
>
>> I think I have a pretty simple requirement for the build flow plugin and
>> the editable email plugin, but I could use some help getting this working.
>>
>> In the build flow job I am kicking off some builds:
>>
>> build( "job1" )
>> build( "job2" )
>> build( "job3" )
>>
>>
>>
>>
>> Then I want to send some emails with links to build artifacts that have been
>> uploaded to S3, like this:
>>
>>
>> http://somelink.amazonaws.com/bucket/job1-filename-234.apk
>>
>> http://somelink.amazonaws.com/bucket/job2-filename-168.apk
>>
>> http://somelink.amazonaws.com/bucket/job3-filename-852.apk
>>
>>
>>
>>
>> Where "234" is the build number from job1, "168" is the build number from
>> job2, etc.
>>
>>
>> So, what do I need to do in the DSL on the build flow plugin to grab the
>> build numbers so they can be used in the editable email?
>>
>>
>>
>>
>> Thanks in advance for any assistance.
>>
>>
>> Curtis
>>
>>
>> --
>> 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 [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Website: http://earl-of-code.com
>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.