Remobve build number from version
FarmMaps/FarmMapsLib/pipeline/head There was a failure building this commit Details

2022.01
Willem Dantuma 2021-06-03 09:42:59 +02:00
parent 34b067fd28
commit 4b7b639046
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -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'){

View File

@ -1,6 +1,6 @@
{
"name": "farmmaps-lib-app",
"version": "0.0.1",
"version": "1.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",