From ee99ef0d91f43d42a10828afaa715d57fb1bb145 Mon Sep 17 00:00:00 2001 From: Pranav Gore Date: Tue, 6 Feb 2018 12:19:07 +0530 Subject: [PATCH] remove comments --- vars/deployPlannerSnapshot.groovy | 1 - 1 file changed, 1 deletion(-) diff --git a/vars/deployPlannerSnapshot.groovy b/vars/deployPlannerSnapshot.groovy index 815c8e75..8cdd8cdd 100644 --- a/vars/deployPlannerSnapshot.groovy +++ b/vars/deployPlannerSnapshot.groovy @@ -30,7 +30,6 @@ def call(body) { yaml = flow.getUrlAsString(openShiftTemplate) yaml = Pattern.compile("- image: ${originalImageName}:(.*)").matcher(yaml).replaceFirst("- image: ${newImageName}") - // yaml = Pattern.compile("${originalImageName}").matcher(yaml).replaceFirst("${newImageName}") if (!yaml.contains(newImageName)){ error "original image ${originalImageName} not replaced with ${newImageName} in yaml: \n ${yaml}"