Skip to content

Commit

Permalink
we maynot need container('clients') to reach out to github
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavgore09 committed Feb 13, 2018
1 parent c4e13b4 commit a246360
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions vars/deployPlannerSnapshot.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit a246360

Please sign in to comment.