-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot transition status via :enqueue from :pending #885
Comments
@keestux I am not sure why you would be seeing this - GitLab is responding in an unexpected way, but you may need to ask them what is causing that. |
Hi, We've seen this error as well. In our case it was due to the Jenkins web hook being registered twice for the Merge Request events in the GitLab project settings. |
It's not the issue in plugin itself. We see this usually when two or more builds of our pipeline start fast enough (and due to #926 and #871 it happens quite often). Plugin tries to update status and GitLab API doesn't allow some status changes like from 'running' back to 'enqueue' to be made:
|
Issue
There are error messages in the Jenkins log of the Gitlab plugin. However, the plugin seems to be doing everything it needs to do. When the plugin wants to update the Gitlab pipeline it gets a reply
Context
Logs & Traces
In the Jenkins log for each trigger there is a an error with these details
Problem description
As far as I can see, everything works as expected. The Jenkins pipeline is triggered the way it should. In GitLab the pipeline is correctly marked as
passed
. It's just that the Jenkins log shows this error.The text was updated successfully, but these errors were encountered: