Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/banyan/jenkins-ci-skip-plugin
Skip making a build through commit message
https://github.com/banyan/jenkins-ci-skip-plugin
Last synced: 16 days ago
JSON representation
Skip making a build through commit message
- Host: GitHub
- URL: https://github.com/banyan/jenkins-ci-skip-plugin
- Owner: banyan
- Created: 2013-12-22T15:23:23.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-04-14T12:59:18.000Z (almost 8 years ago)
- Last Synced: 2024-04-14T05:49:49.157Z (10 months ago)
- Language: Ruby
- Homepage: https://wiki.jenkins-ci.org/display/JENKINS/Ci+Skip+Plugin
- Size: 26.4 KB
- Stars: 58
- Watchers: 3
- Forks: 18
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jenkins ci skip plugin
[![Build Status](https://travis-ci.org/banyan/jenkins-ci-skip-plugin.png)](https://travis-ci.org/banyan/jenkins-ci-skip-plugin)
[![Coverage Status](https://coveralls.io/repos/banyan/jenkins-ci-skip-plugin/badge.png)](https://coveralls.io/r/banyan/jenkins-ci-skip-plugin)Skip making a build for certain push. Just add `[ci skip]` into your commit's message to let Jenkins know, that you do not want to perform build for the next push.
Full example:
```
$ git commit -m 'documentation update [ci skip]'
```It is very useful when you are working things unrelated to application's code such as README. This feature idea comes from [Travis CI](http://about.travis-ci.org/docs/user/how-to-skip-a-build/).
## Installation
Install the plugin from the Jenkins Plugin Manager.
### Enabling ci-skip
In the job configuration, check Enable ci-skip.
![A Screenshot](docs/enable.png)
### How it works
Jenkins is based on works by changeset, so if there is changeset from before build and commit includes `[ci skip]`, then build is skipped as `NOT_BUILT`.
If there is no changeset, it will be build.## Development
```
$ bundle install
$ ./bin/start-jenkins
$ open http://localhost:8080
```### Run Test
```
$ bundle exec rake
```## Changelog
### Version 0.1.0 (Apr 14, 2017)
* Get working with Mercurial plugin [#6](https://github.com/banyan/jenkins-ci-skip-plugin/pull/6)
### Version 0.0.2 (Dec 24, 2013)
* Doc, etc...
### Version 0.0.1 (Dec 22, 2013)
* initial release