From 3e1588ffe4c8df1d0ab0ac970b7b0a7f1c56d6ca Mon Sep 17 00:00:00 2001 From: Vaughn Dice Date: Tue, 19 Jul 2016 17:03:33 -0400 Subject: [PATCH] ref(Jenkinsfile): remove sdk-related params and logic per https://github.com/deis/controller-sdk-go/pull/46 --- Jenkinsfile | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e66595e9..1267d48f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,18 +24,6 @@ def workdir_linux = { String gopath -> gopath + workpath_linux } -properties([[$class: 'ParametersDefinitionProperty', - parameterDefinitions: [ - [$class: 'StringParameterDefinition', - defaultValue: '', - description: 'controller-sdk-go commit sha to use in glide.yaml (not updated if empty)', - name : 'SDK_SHA'], - [$class: 'StringParameterDefinition', - defaultValue: '', - description: 'controller-sdk-go repo to use in glide.yaml (not updated if empty)', - name: 'SDK_GO_REPO'] - ]]]) - node('windows') { def gopath = pwd() + "\\gopath" env.GOPATH = gopath @@ -107,20 +95,6 @@ parallel( } sh 'make bootstrap' - - if (SDK_GO_REPO && SDK_SHA) { - echo "Updating local glide.yaml with controller-sdk-go repo '${SDK_GO_REPO}' and version '${SDK_SHA}'" - - def pattern = "github\\.com\\/deis\\/controller-sdk-go\\n\\s+version:\\s+[a-f0-9]+" - def replacement = "${SDK_GO_REPO.replace("/", "\\/")}\\n version: ${SDK_SHA}" - sh "perl -i -0pe 's/${pattern}/${replacement}/' glide.yaml" - - def glideYaml = readFile('glide.yaml') - echo "Updated glide.yaml:\n${glideYaml}" - - sh 'make glideup' - } - sh "VERSION=${git_commit.take(7)} make build-revision" upload_artifacts(keyfile)