GerritTriggerSpec_GerritEventConfiguration

GerritTriggerSpec_GerritEventConfiguration
GerritTriggerSpec_GerritEventConfiguration
JSON Example
{
    "eventType": "patchset-created",
    "failureComment": "Pipeline Execution Failed",
    "input": [
        {
            "ip": "10.5.23.84",
            "script": "testScript.sh"
        }
    ],
    "pipeline": "DemoPipeline",
    "successComment": "Pipeline Execution Completed",
    "verifiedLabel": "Verified +1"
}
string
eventType
Required

Type of the gerrit event.

string
failureComment
Optional

Comment to be posted to the ChangeSet on execution termination.

object
input
Optional

Map representing the Input properties for the Pipeline.

string
pipeline
Required

Pipeline that needs to be triggered on receiving this event.

string
successComment
Optional

Comment to be posted to the ChangeSet on execution termination.

string
verifiedLabel
Optional

The label to be posted on Gerrit Server to perform actions.