updated Jenkinsfile
nclazz/api-cli/pipeline/head There was a failure building this commit Details

master
Niclas Thobaben 2021-07-07 14:48:11 +02:00
parent 7c4ff61785
commit e02ec4a426
1 changed files with 7 additions and 1 deletions

8
Jenkinsfile vendored
View File

@ -1,12 +1,18 @@
pipeline {
agent any
environment {
NPM_REGISTRY = 'https://nexus.nclazz.de/repository/npm_releases',
NPM_REGISTRY = 'https://nexus.nclazz.de/repository/npm_releases'
NPM_CREDENTIALS = credentials('npm-publish')
NPM_MAIL = 'info@nclazz.de'
}
stages {
stage('Prepare') {
echo '''
NPM_REGISTRY : $NPM_REGISTRY
NPM_MAIL : $NPM_MAIL
BRANCH : $BRANCH_NAME
TAG: : $TAG_NAME
'''
sh 'npm install -g npm-cli-login'
}
stage('Set Version') {