The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Gerrit Trigger

setGerritReview: Set Gerrit review

Allows influencing how the build results are reported back to Gerrit when the build finishes. All input values are optional. If the step occurs multiple times in a workflow, the last value set for each parameter is used.

If the build is not triggered by Gerrit Trigger, or if the trigger is configured to not report back to Gerrit when the build finishes, this step does nothing.

  • customUrl : String (optional)
    Custom URL for a message to send back to Gerrit. If empty, URL to post from Gerrit Trigger configuration will be used. Same expansion is done as for the URL to post configuration option.
  • unsuccessfulMessage : String (optional)
    Additional details to post back to Gerrit if the build is not successful.

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.