diff --git a/vars/deployPlannerSnapshot.groovy b/vars/deployPlannerSnapshot.groovy index d222f087..f7665a8f 100644 --- a/vars/deployPlannerSnapshot.groovy +++ b/vars/deployPlannerSnapshot.groovy @@ -20,13 +20,10 @@ def call(body) { def utils = new io.fabric8.Utils() def openShiftProject = config.openShiftProject + '-' + utils.getRepoName() - container('clients') { - if (!flow.isAuthorCollaborator("", project)){ - currentBuild.result = 'ABORTED' - error 'Change author is not a collaborator on the project, aborting build until we support the [test] comment' - } + if (!flow.isAuthorCollaborator("", project)){ + currentBuild.result = 'ABORTED' + error 'Change author is not a collaborator on the project, aborting build until we support the [test] comment' } - def yaml = flow.getUrlAsString(openShiftTemplate) def originalImage = "- image: ${originalImageName}:(.*)" def newImage = "- image: ${newImageName}"