This plugin allows builds to be made only for certain text ([ci KEYWORD]) in the commit message.
Full example: (Assuming you set commit text to 'merge'.)
$ git commit -m 'finish feature [ci merge]'
This allows you when using a gitflow/hubflow to have Jenkins monitor feature branches but only build/merge
develop when a feature has been completed by having the developer add [ci build] in the final commit.
This skips the step of creating a pull request in the general gitflow methodology. You could also use
[ci deploy] to cause a job which deploys to a staging server to run.
Install the plugin from the Jenkins Plugin Manager.
In the job configuration, check Enable Commit Message Trigger and set the keyword to the one you want to use for this build.
If an incoming changeset commit message does not include [ci KEYWORD], the build is skipped as NOT_BUILT.
If there is no changeset, it will be built.
$ bundle install
$ ./bin/start-jenkins
$ open http://localhost:8080
$ bundle exec rake
$ jpi build
- initial release
