From e57b8297c0231ea4d3bb2c2ba88dc4687fa4bef1 Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Mon, 25 Nov 2019 14:47:20 +0100 Subject: [PATCH] Disable common-map temporarily --- Jenkinsfile.develop | 90 ++++++++++++++++++++++----------------------- 1 file changed, 44 insertions(+), 46 deletions(-) diff --git a/Jenkinsfile.develop b/Jenkinsfile.develop index b6cb87b..f7e4041 100644 --- a/Jenkinsfile.develop +++ b/Jenkinsfile.develop @@ -1,47 +1,45 @@ -pipeline { - agent any - environment { - 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 { - stage('npm install'){ - steps { - sh '''npm install - cd projects/common - npm install - cd ../common-map - npm install - ''' - } - } - stage('build'){ - steps { - sh '''ng build common - ng build common-map''' - } - } - stage('npm publish'){ - steps { - sh '''cd dist/common - npm version ${PACKAGE_VERSION} - npm publish - cd ../common-map - npm version ${PACKAGE_VERSION} - npm publish''' - } - } - - } - post { - always { - emailext ( - body: '${DEFAULT_CONTENT}', - mimeType: 'text/html', - replyTo: '${DEFAULT_REPLYTO}', - subject: '${DEFAULT_SUBJECT}', - to: emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']]) - ) - } - } +pipeline { + agent any + environment { + 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 { + stage('npm install'){ + steps { + sh '''npm install + cd projects/common + npm install + cd ../common-map + npm install + ''' + } + } + stage('build'){ + steps { + sh '''ng build common + ng build common-map''' + } + } + stage('npm publish'){ + steps { + sh '''cd dist/common + npm version ${PACKAGE_VERSION} + npm publish + ''' + } + } + + } + post { + always { + emailext ( + body: '${DEFAULT_CONTENT}', + mimeType: 'text/html', + replyTo: '${DEFAULT_REPLYTO}', + subject: '${DEFAULT_SUBJECT}', + to: emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']]) + ) + } + } } \ No newline at end of file