Update the GitVersion path
This commit is contained in:
parent
db4f11fef5
commit
68ba5ecad3
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ node() {
|
||||||
git(url: "https://github.com/omallo/ruby-ex.git", credentialsId: "github-omallo")
|
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 buildVersion = sh(script: "${gitVersionCmd} /showvariable FullSemVer", returnStdout: true).trim()
|
||||||
def tagVersion = sh(script: "${gitVersionCmd} /showvariable MajorMinorPatch", returnStdout: true).trim()
|
def tagVersion = sh(script: "${gitVersionCmd} /showvariable MajorMinorPatch", returnStdout: true).trim()
|
||||||
echo "versions: buildVersion=${buildVersion}, tagVersion=${tagVersion}"
|
echo "versions: buildVersion=${buildVersion}, tagVersion=${tagVersion}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue