| We are using gitlab-plugin and evaluating gitlab-branch-source-plugin for our need. Pipeline is failing with: Null pointer exception and prior that failure in Jenkins maser log:
...
org.gitlab4j.api.GitLabApiException: Cannot transition status via :run from :running (Reason(s): Status cannot transition via "run")
...
in pipeline we have something like that:
..
steps {
gitlabCommitStatus(STAGE_NAME) {
container('deploy') {
sh 'mvn deploy'
}
When I remove all "gitlabCommitStatus(STAGE_NAME) {" in all stages it starts working. |