Skip to content

Commit a246360

Browse files
committed
we maynot need container('clients') to reach out to github
1 parent c4e13b4 commit a246360

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

vars/deployPlannerSnapshot.groovy

+3-6
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,10 @@ def call(body) {
2020
def utils = new io.fabric8.Utils()
2121
def openShiftProject = config.openShiftProject + '-' + utils.getRepoName()
2222

23-
container('clients') {
24-
if (!flow.isAuthorCollaborator("", project)){
25-
currentBuild.result = 'ABORTED'
26-
error 'Change author is not a collaborator on the project, aborting build until we support the [test] comment'
27-
}
23+
if (!flow.isAuthorCollaborator("", project)){
24+
currentBuild.result = 'ABORTED'
25+
error 'Change author is not a collaborator on the project, aborting build until we support the [test] comment'
2826
}
29-
3027
def yaml = flow.getUrlAsString(openShiftTemplate)
3128
def originalImage = "- image: ${originalImageName}:(.*)"
3229
def newImage = "- image: ${newImageName}"

0 commit comments

Comments
 (0)