On Tuesday, September 29, 2015 at 9:02:56 PM UTC-7, Travis Newhouse wrote:
>
> I have defined a job using Workflow plugin.  I have configured the job to 
> be triggered on events from the Gerrit Trigger plugin.  The job notifies 
> Gerrit when the job is starting and records a message in the Gerrit history 
> when the job succeeds or fails.  However, a +1,-1 vote is not recorded 
> along with the message.  I have Freestyle jobs that are working with the 
> same configuration.
>
> Are special steps required in the Groovy script for the Workflow job to 
> register a vote after the job completes?
>

Foolish me.  This was an experiment with a new project in Gerrit.  I had 
forgotten to give Jenkins permission to apply the Verified label.  Once I 
configured the access control on the Gerrit project properly, then it is 
working as expected.

Travis

-- 
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/80894d37-a368-41dd-a717-281f32b8fd67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to