From 1a9bb3e79613c13cba13b05228030c44018f3b69 Mon Sep 17 00:00:00 2001 From: Ovidio Mallo Date: Tue, 3 Jan 2017 00:32:19 +0100 Subject: [PATCH] Fix the sed command --- deployment/pipeline.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/pipeline.groovy b/deployment/pipeline.groovy index 7ab34fc..bf123c9 100644 --- a/deployment/pipeline.groovy +++ b/deployment/pipeline.groovy @@ -15,7 +15,7 @@ node() { echo "versions: buildVersion=${buildVersion}, tagVersion=${tagVersion}" stage("Build") { - sh "sed -i '' 's/{{BUILD_VERSION}}/${buildVersion}/g' config.ru" + sh "sed -e 's/{{BUILD_VERSION}}/${buildVersion}/g' -i config.ru" ocutil.ocBuild("rubex-dev", "frontend", config.dev.build.frontend) }