Another try
Some checks failed
FarmMaps.Develop/FarmMapsLib/develop There was a failure building this commit

This commit is contained in:
Willem Dantuma 2019-07-16 17:24:26 +02:00
parent 65924c1b85
commit f96df36238

View File

@ -1,7 +1,7 @@
pipeline { pipeline {
agent any agent any
environment { 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}" PACKAGE_VERSION="${PACKAGE_VERSION_PREFIX + '-prerelease.' + env.BUILD_NUMBER}"
} }
stages { stages {