Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Latest commit

 

History

History
27 lines (19 loc) · 946 Bytes

RELEASING.md

File metadata and controls

27 lines (19 loc) · 946 Bytes

Releasing the CodeScene Jenkins Plugin

Changelog

First, make sure the CHANGELOG is updated with the latest features and changes.

Version Tagging

To create a release, first run:

mvn release:prepare -Dresume=false

This will prompt you for a release version label, e.g. 1.2.3. Then it prompts you for the git tag, which in this scenario should be v1.2.3. Finally, you should set the coming SNAPSHOT version to, in this scenario, 1.2.4-SNAPSHOT.

The release plugin will create a tag in git and push the changes to GitHub, triggering a Travis build.

Do NOT run mvn release:perform, just sit back and watch the Travis build pass, and your tagged release should eventually appear as a GitHub Release. The .hpi file is automatically added to the release, available for users to download and then upload in Jenkins.