From f96df36238bfc864d87638fc6b564fefbbaa952a Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Tue, 16 Jul 2019 17:24:26 +0200 Subject: [PATCH] Another try --- Jenkinsfile.develop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile.develop b/Jenkinsfile.develop index 7b17911..dac962e 100644 --- a/Jenkinsfile.develop +++ b/Jenkinsfile.develop @@ -1,7 +1,7 @@ pipeline { agent any environment { - PACKAGE_VERSION_PREFIX=sh(script: 'jq .version package.json |sed "s/\"//g"', returnStdout: true).trim() + PACKAGE_VERSION_PREFIX=sh(script: 'jq .version package.json |sed "s/""//g"', returnStdout: true).trim() PACKAGE_VERSION="${PACKAGE_VERSION_PREFIX + '-prerelease.' + env.BUILD_NUMBER}" } stages {