Update the GitVersion path

This commit is contained in:
Ovidio Mallo 2017-01-02 06:05:05 +01:00
parent db4f11fef5
commit 68ba5ecad3
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ node() {
git(url: "https://github.com/omallo/ruby-ex.git", credentialsId: "github-omallo")
}
def gitVersionCmd = "mono /usr/local/GitVersion_3.6.5/GitVersion.exe"
def gitVersionCmd = "mono /usr/local/GitVersion/GitVersion.exe"
def buildVersion = sh(script: "${gitVersionCmd} /showvariable FullSemVer", returnStdout: true).trim()
def tagVersion = sh(script: "${gitVersionCmd} /showvariable MajorMinorPatch", returnStdout: true).trim()
echo "versions: buildVersion=${buildVersion}, tagVersion=${tagVersion}"