User Tools

Site Tools


projects:jenkins:semver

This is an old revision of the document!


Semantic Versioning with Git and Jenkins

The idea is to have a Jenkins job that will tag an appropriate revision with a new version.

Input parameters

  • [Revision] - SHA of the commit to be tagged

Prerequisites

  • There must be a previous tag on the branch. The initial commit should have tag v0.1.0

Steps

  1. Clone repository
  2. Checkout [Revision]
  3. Git Describe
  4. Parse output of Git Describe
  5. Check commits for Api change tags
projects/jenkins/semver.1458497475.txt.gz ยท Last modified: 2016/03/20 19:11 by mkucia