Compare commits

...

5 Commits

Author SHA1 Message Date
d9848a8ba3 AW-5371 Release 2023.08 libraries
Some checks failed
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
FarmMaps/FarmMapsLib/pipeline/head There was a failure building this commit
2023-07-30 10:53:08 +02:00
a9d42484cc jenkins
All checks were successful
FarmMaps/FarmMapsLib/pipeline/head This commit looks good
2023-07-26 17:52:01 +02:00
a276593c7f Merge branch 'develop' 2023-07-26 17:45:32 +02:00
3f17341b2e Revert "++version"
Some checks failed
FarmMaps/FarmMapsLib/pipeline/head There was a failure building this commit
This reverts commit 6165f523cc.
2023-03-28 13:37:50 +02:00
6165f523cc ++version
All checks were successful
FarmMaps/FarmMapsLib/pipeline/head This commit looks good
2023-03-28 13:30:16 +02:00
3 changed files with 14 additions and 43 deletions

54
Jenkinsfile vendored
View File

@ -1,54 +1,24 @@
@Library('farmmaps-shared-library') _
pipeline {
agent any
environment {
PACKAGE_VERSION_PREFIX=sh(script: 'jq .version package.json |sed "s/\\"//g"', returnStdout: true).trim()
PACKAGE_VERSION="${PACKAGE_VERSION_PREFIX}"
agent any;
options {
copyArtifactPermission projectNames: env.allProjectsArtifactPermission;
disableConcurrentBuilds abortPrevious: true;
}
stages {
stage('npm install'){
stage('FarmmapsLibBuildAll') {
steps {
sh '''rm -rf node_modules/
npm install --legacy-peer-deps
cd projects/common
npm install --legacy-peer-deps
cd ../common-map
npm install --legacy-peer-deps
cd ../common-map3d
npm install --legacy-peer-deps
'''
stepFarmmapsLibBuildAll();
}
}
stage('build'){
steps {
sh '''ng build common --configuration production
ng build common-map --configuration production
ng build common-map3d --configuration production'''
}
}
stage('npm publish'){
steps {
sh '''cd dist/common
npm version ${PACKAGE_VERSION} --allow-same-version
npm publish
cd ../common-map
npm version ${PACKAGE_VERSION} --allow-same-version
npm publish
cd ../common-map3d
npm version ${PACKAGE_VERSION} --allow-same-version
npm publish'''
}
}
}
post {
success {
postSuccess();
}
always {
emailext (
body: '${DEFAULT_CONTENT}',
mimeType: 'text/html',
replyTo: '${DEFAULT_REPLYTO}',
subject: '${DEFAULT_SUBJECT}',
to: emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']])
)
postAlways();
}
}
}

View File

@ -4,6 +4,7 @@ pipeline {
agent any;
options {
copyArtifactPermission projectNames: env.allProjectsArtifactPermission;
disableConcurrentBuilds abortPrevious: true;
}
stages {
stage('FarmmapsLibBuildAll') {

View File

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