Continuous Integration

GitVersion can be used in a Continuous Server pipeline to generate a version number that both labels the build itself and makes the different version variables available to the rest of the build pipeline. Choose between the supported continuous integration servers below.

GitHub Actions

GitVersion's GitTools Actions allows for simple integration into a GitHub Actions build pipeline.

GitTools Actions

Azure DevOps

GitVersion's GitTools Azure DevOps Task allows for simple integration of GitVersion into an Azure DevOps build pipeline.

GitTools Task

GitLab CI Pipelines

The GitLab CI example gitlab-sample implements GitVersion support at the pipeline level by using a single job that runs the GitVersion container and passes the version number downstream into both pipeline and job level variables. It is also implemented as a reusable CI/CD Extension that can be included in many different projects.

GitHub