jenkinsci / jenkinsci/git-plugin
[JENKINS-28644] Trigger job when polling off if sha1 specified in push notification
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
The documentation suggests that polling is not required when the "sha1" commitID param is given, so should it not be possible to trigger a build this way with polling turned off for the job? From testing it appears polling is still required in this case too.
"Commit ID is optional. If set, it will immediately trigger a build, without requirement to poll for changes."
I have > 100 Jenkins jobs I'd like to migrate to this style post-receive job trigger however having to modify the job configuration in this way for each one sounds like a very long afternoon.
---
Originally reported by
leif81, imported from: Trigger job when polling off if sha1 specified in push notification
Raw content of original issue
The documentation suggests that polling is not required when the "sha1" commitID param is given, so should it not be possible to trigger a build this way with polling turned off for the job? From testing it appears polling is still required in this case too.
"Commit ID is optional. If set, it will immediately trigger a build, without requirement to poll for changes."
I have > 100 Jenkins jobs I'd like to migrate to this style post-receive job trigger however having to modify the job configuration in this way for each one sounds like a very long afternoon.
Contributor guide
Assessment
This issue has not been assessed yet.