Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Create an option to skip triggering a build by commit message #10

Open
daniilyar opened this issue Mar 6, 2014 · 4 comments
Open

Create an option to skip triggering a build by commit message #10

daniilyar opened this issue Mar 6, 2014 · 4 comments

Comments

@daniilyar
Copy link

Currently there is only one option to skip triggering builds by pattern in commit message. 'ci-skip' plugin (https://github.com/banyan/jenkins-ci-skip-plugin), which could skip builds with 'NON_BUILT' resolution if they contain '[ci skip]' in every commit message related to current build. But the best place to do this is the code of Jenkins GIT plugin as you can just not trigger a build for this case while ci-ckip plugin triggers build (!) and finishes it quickly as 'NON_BUILT' (and so, Jenkins Git plugin could just skip build instead of making redundant gray builds appear in list)

SVN plugin already supports this: http://stackoverflow.com/questions/8037230/run-jenkins-job-if-only-scm-comment-match-pattern

Example of new option usage: skip triggering a build if all it's commits contain '[maven-release-plugin]' as prefix (which is default for maven-release-plugin)

@KTannenberg
Copy link

This would be a nice addition to plugin
+1

@baratali
Copy link

baratali commented Mar 6, 2014

+1

1 similar comment
@GolubevV
Copy link

GolubevV commented Apr 3, 2015

+1

@kristian-meyer
Copy link

👍

My use case is tagging AssemblyInfo version with the build number.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants