File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,18 +24,6 @@ def workdir_linux = { String gopath ->
2424 gopath + workpath_linux
2525}
2626
27- properties([[$class : ' ParametersDefinitionProperty' ,
28- parameterDefinitions : [
29- [$class : ' StringParameterDefinition' ,
30- defaultValue : ' ' ,
31- description : ' controller-sdk-go commit sha to use in glide.yaml (not updated if empty)' ,
32- name : ' SDK_SHA' ],
33- [$class : ' StringParameterDefinition' ,
34- defaultValue : ' ' ,
35- description : ' controller-sdk-go repo to use in glide.yaml (not updated if empty)' ,
36- name : ' SDK_GO_REPO' ]
37- ]]])
38-
3927node(' windows' ) {
4028 def gopath = pwd() + " \\ gopath"
4129 env. GOPATH = gopath
@@ -107,20 +95,6 @@ parallel(
10795 }
10896
10997 sh ' make bootstrap'
110-
111- if (SDK_GO_REPO && SDK_SHA ) {
112- echo " Updating local glide.yaml with controller-sdk-go repo '${ SDK_GO_REPO} ' and version '${ SDK_SHA} '"
113-
114- def pattern = " github\\ .com\\ /deis\\ /controller-sdk-go\\ n\\ s+version:\\ s+[a-f0-9]+"
115- def replacement = " ${ SDK_GO_REPO.replace("/", "\\/")} \\ n version: ${ SDK_SHA} "
116- sh " perl -i -0pe 's/${ pattern} /${ replacement} /' glide.yaml"
117-
118- def glideYaml = readFile(' glide.yaml' )
119- echo " Updated glide.yaml:\n ${ glideYaml} "
120-
121- sh ' make glideup'
122- }
123-
12498 sh " VERSION=${ git_commit.take(7)} make build-revision"
12599
126100 upload_artifacts(keyfile)
You can’t perform that action at this time.
0 commit comments