jenkinsci / jenkinsci/github-branch-source-plugin
[JENKINS-41048] Allow to not build commits of a PR
- Dominant language
- Java
- Stars
- 217
- Forks
- 398
- Avg merge
- 30m
- Merged PRs (30d)
- 1
Description
Sometimes you don't want to have CI build every time you push, especially if the build takes a long time or uses many executors.
It would be nice if it was possible to define criteria to skip building commits, for example, if the commit message contains the string "skip ci" or matches a user-definable regex.
Temporarily removing or renaming the Jenkinsfile is, of course, a workaround, but not a particularly elegant one.
---
Originally reported by emanuelez, imported from: Allow to not build commits of a PR
kohsuke
Raw content of original issue
Sometimes you don't want to have CI build every time you push, especially if the build takes a long time or uses many executors.
It would be nice if it was possible to define criteria to skip building commits, for example, if the commit message contains the string "skip ci" or matches a user-definable regex.
Temporarily removing or renaming the Jenkinsfile is, of course, a workaround, but not a particularly elegant one.
Contributor guide
Assessment
This issue has not been assessed yet.