jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-41048] Allow to not build commits of a PR

Open
#1,024 4 comments 0 reactions 0 assignees View on GitHub
component:github-branch-source-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
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


  • assignee: kohsuke
  • status: Open
  • priority: Minor
  • component(s): github-branch-source-plugin
  • label(s): scm-api-tidy-scrub
  • resolution: Unresolved
  • votes: 2
  • watchers: 6
  • imported: 2025-12-02

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.