From 715d66eccc32b3f92a066b053dbf07feb149469d Mon Sep 17 00:00:00 2001 From: Ovidio Mallo Date: Mon, 2 Jan 2017 04:10:21 +0100 Subject: [PATCH] Use GitHub credentials --- deployment/pipeline.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/pipeline.groovy b/deployment/pipeline.groovy index c6b1774..16aee04 100644 --- a/deployment/pipeline.groovy +++ b/deployment/pipeline.groovy @@ -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()