Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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