diff --git a/vars/backendTestServicePipeline.groovy b/vars/backendTestServicePipeline.groovy index eef28313c0f7b70d3becbbfd603a284a69b35a33..53900d693970d4c1f1e8c8260d3eea176c29e471 100644 --- a/vars/backendTestServicePipeline.groovy +++ b/vars/backendTestServicePipeline.groovy @@ -1,13 +1,13 @@ def call(String repo, String branch, String serviceName) { pipeline { agent { label 'node2' } - parameters { - string{ - name: "BRANCH_NAME", - defaultValue: "", - description: "Branch to use" - } - } + // parameters { + // string{ + // name: "BRANCH_NAME", + // defaultValue: "", + // description: "Branch to use" + // } + // } tools { go 'go-1.16' } @@ -18,7 +18,7 @@ def call(String repo, String branch, String serviceName) { stage('checkout') { steps { - git branch: "${BRANCH_NAME}", + git branch: "branch", credentialsId: 'tucker-gitlab-login', url: repo }