Remobve build number from version
Some checks failed
FarmMaps/FarmMapsLib/pipeline/head There was a failure building this commit
Some checks failed
FarmMaps/FarmMapsLib/pipeline/head There was a failure building this commit
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -2,7 +2,7 @@ pipeline {
|
||||
agent any
|
||||
environment {
|
||||
PACKAGE_VERSION_PREFIX=sh(script: 'jq .version package.json |sed "s/\\"//g"', returnStdout: true).trim()
|
||||
PACKAGE_VERSION="${PACKAGE_VERSION_PREFIX + '.' + env.BUILD_NUMBER}"
|
||||
PACKAGE_VERSION="${PACKAGE_VERSION_PREFIX}"
|
||||
}
|
||||
stages {
|
||||
stage('npm install'){
|
||||
|
Reference in New Issue
Block a user