When verigreen tries to get the status of jenkins jobs, it assumes that the first parameter of the job will be the 'jenkins.branchParamName' parameter.
|
JsonObject parameterJsonObject = (JsonObject) jsonParametersArray.get(0); |
If the first parameter is a different one, verigreen fails with 'TRIGGER_FAILED', even after triggering the jenkins job successfully.
This should be fixed or documented (maybe as part of the FAQ 'TRIGGER_FAILED' section?)
When verigreen tries to get the status of jenkins jobs, it assumes that the first parameter of the job will be the 'jenkins.branchParamName' parameter.
verigreen/verigreen-collector-impl/src/main/java/com/verigreen/collector/jobs/CallJenkinsJob.java
Line 211 in 93e4efe
If the first parameter is a different one, verigreen fails with 'TRIGGER_FAILED', even after triggering the jenkins job successfully.
This should be fixed or documented (maybe as part of the FAQ 'TRIGGER_FAILED' section?)