Re: Custom message in jenkins-gerrit plugin

2016-07-21 Thread Berceanu Cristian
I'll try that. Thanks!

On Wednesday, July 20, 2016 at 6:54:33 PM UTC+2, geoffroy...@gmail.com 
wrote:
>
> I think you'll have to execute some gerrit commands within your build job 
> to publish specific comment when posting the verified mark.
>
>
> Le mercredi 20 juillet 2016 11:48:30 UTC+2, Berceanu Cristian a écrit :
>>
>> Hi,
>>
>> Currently the messages look like this:
>>
>> Patch Set 1: Verified+1
>>
>> Build Successful
>>
>> link_to_build
>>
>>
>> What I'd like to accomplish is also post a dynamic date to the 
>> description:
>>
>> so if today is 20th of July, what I want to show is:
>>
>> Build Successful
>>
>> The builds are available until 20th of August(so add 30 days).
>>
>> link_to_build
>>
>>
>>
>> The fields don't support executing a bash script:
>>
>>
>> 
>>
>>
>>
>> Any ideas?
>> The bash script I'm trying to run is this one:
>> $ date -d "+30 days"
>>
>> I tried $(date -d "+10 days") but I don't think those fields have the 
>> option to execute bash scripts
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/982b7ae2-14df-4b7f-b5d1-6b97980749b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Custom message in jenkins-gerrit plugin

2016-07-20 Thread geoffroy . jabouley
I think you'll have to execute some gerrit commands within your build job 
to publish specific comment when posting the verified mark.


Le mercredi 20 juillet 2016 11:48:30 UTC+2, Berceanu Cristian a écrit :
>
> Hi,
>
> Currently the messages look like this:
>
> Patch Set 1: Verified+1
>
> Build Successful
>
> link_to_build
>
>
> What I'd like to accomplish is also post a dynamic date to the description:
>
> so if today is 20th of July, what I want to show is:
>
> Build Successful
>
> The builds are available until 20th of August(so add 30 days).
>
> link_to_build
>
>
>
> The fields don't support executing a bash script:
>
>
> 
>
>
>
> Any ideas?
> The bash script I'm trying to run is this one:
> $ date -d "+30 days"
>
> I tried $(date -d "+10 days") but I don't think those fields have the 
> option to execute bash scripts
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6a958c8b-498a-4a84-b55e-6be97c579cd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Custom message in jenkins-gerrit plugin

2016-07-20 Thread Berceanu Cristian
Hi,

Currently the messages look like this:

Patch Set 1: Verified+1

Build Successful

link_to_build


What I'd like to accomplish is also post a dynamic date to the description:

so if today is 20th of July, what I want to show is:

Build Successful

The builds are available until 20th of August(so add 30 days).

link_to_build



The fields don't support executing a bash script:





Any ideas?
The bash script I'm trying to run is this one:
$ date -d "+30 days"

I tried $(date -d "+10 days") but I don't think those fields have the 
option to execute bash scripts

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9ee3e395-730e-4af5-ae07-e424cc684525%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.