-
Notifications
You must be signed in to change notification settings - Fork 9
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
Uncontrolled triggering of builds in -ci-pr_any- when being called manually #242
Comments
|
An hypothesis: that job has different parameters as input:
The workaround at the moment is to always use the Github integration and avoid manual calls. |
I'm seen the same problem today after using |
I just cancelled a |
https://build.osrfoundation.org/job/ignition_gazebo-ci-pr_any-ubuntu_auto-amd64/ is currently running excessively and I believe it's self-triggering |
My knowledge of the groovy scripts is limited, but maybe we can guard against triggering builds for empty sha1 values? e.g. - branch('${sha1}')
+ if (sha1?.trim()) {
+ branch('${sha1}')
+ } |
I think a solution for this would be to create separate jobs that can be started manually and tell people not to manually trigger |
the following job is running away today: https://build.osrfoundation.org/job/ign_gui-pr-win/ |
Looking into the root cause of it. There was an empty
The triggering was not being a user but:
That branch has not been touched in the last two years and the ghrbp plugin and seems like there is a polling operation going on which is not configured in any way in DSL as far as I can tell. I've notice a weird thing: the |
Sorry forgot to comment: groovy scripts are used to create the Jenkins jobs, evaluating the sha1 in groovy DSL will run during job generation, not during the job execution. But the idea is good, I will implement something similar as a workaround. |
Have not seen the problem in the last 3 years. Closing it, please reopen if it appears again, |
There is a problem for jobs using integration with github pull requests once called manually that could potentially triggered hundreds of builds depending on the branch passed as parameter. Example: https://build.osrfoundation.org/view/main/view/CI%20ABI%20jobs/job/gazebo-abichecker-any_to_any-ubuntu_auto-amd64/230
Parameters
Log
This line seems the origin of the disaster
The text was updated successfully, but these errors were encountered: