Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 1.46 KB

RELEASING.md

File metadata and controls

24 lines (23 loc) · 1.46 KB

These are the steps to release the Gradle Plugin, which is a gradle-based Jenkins plugin not using a release plugin.

  • Ensure you have the latest code from origin: git pull origin
  • Make sure tests still run: ./gradlew test
  • Run locally to perform sanity check: ./gradlew server
  • Edit gradle.properties to strip -SNAPSHOT from version: vi gradle.properties
  • Set compatibleSinceVersion to the new version if deprecated features have been removed
  • Update the release notes, set the release date: * 1.25 (Jul 21 2016)
  • Ensure everything is checked in: git commit -S -am "Releasing 1.25"
  • Ensure you have your Jenkins credentials in ~/.jenkins-ci.org: cat ~/.jenkins-ci.org
userName=yourUsername
password=IHeartJenkins
  • Deploy: _./gradlew clean publish
  • Tag the source as it is: git tag -s -a gradle-1.25 -m "Staging 1.25"
  • Increment the version in gradle.properties and append "-SNAPSHOT": echo "version=1.26-SNAPSHOT">gradle.properties
  • Update the release notes, add the next version: * 1.26 (unreleased)
  • Commit the updated version number: git commit -S -am "Bumping to next rev"
  • Push the two new commit and the tag back to GitHub: git push --tags && git push
  • Close all resolved issues in JIRA
  • Wait up to twelve hours for it show up in the Update Center
  • Follow the @jenkins_release twitter account and retweet the release!