Skip to content
Snippets Groups Projects
Commit cc76eae8 authored by Tucker Siegel's avatar Tucker Siegel
Browse files

remove

parent af196de2
No related branches found
No related tags found
No related merge requests found
def call(String repo, String branch, String serviceName) { def call(String repo, String branch, String serviceName) {
pipeline { pipeline {
agent { label 'node2' } agent { label 'node2' }
parameters { // parameters {
string{ // string{
name: "BRANCH_NAME", // name: "BRANCH_NAME",
defaultValue: "", // defaultValue: "",
description: "Branch to use" // description: "Branch to use"
} // }
} // }
tools { tools {
go 'go-1.16' go 'go-1.16'
} }
...@@ -18,7 +18,7 @@ def call(String repo, String branch, String serviceName) { ...@@ -18,7 +18,7 @@ def call(String repo, String branch, String serviceName) {
stage('checkout') { stage('checkout') {
steps { steps {
git branch: "${BRANCH_NAME}", git branch: "branch",
credentialsId: 'tucker-gitlab-login', credentialsId: 'tucker-gitlab-login',
url: repo url: repo
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment