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)