Use GitHub credentials

This commit is contained in:
Ovidio Mallo 2017-01-02 04:10:21 +01:00
parent 6277a0e9ce
commit 715d66eccc
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
node() {
stage("Checkout") {
deleteDir()
git "https://github.com/omallo/ruby-ex.git"
git(url: "https://github.com/omallo/ruby-ex.git", credentialsId: "github-omallo")
}
def semver = sh(script: "mono /usr/local/GitVersion_3.6.5/GitVersion.exe /showvariable FullSemVer", returnStdout: true).trim()