updated Jenkinsfile
nclazz/api-cli/pipeline/head There was a failure building this commit
Details
nclazz/api-cli/pipeline/head There was a failure building this commit
Details
parent
7c4ff61785
commit
e02ec4a426
|
@ -1,12 +1,18 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
environment {
|
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_CREDENTIALS = credentials('npm-publish')
|
||||||
NPM_MAIL = 'info@nclazz.de'
|
NPM_MAIL = 'info@nclazz.de'
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Prepare') {
|
stage('Prepare') {
|
||||||
|
echo '''
|
||||||
|
NPM_REGISTRY : $NPM_REGISTRY
|
||||||
|
NPM_MAIL : $NPM_MAIL
|
||||||
|
BRANCH : $BRANCH_NAME
|
||||||
|
TAG: : $TAG_NAME
|
||||||
|
'''
|
||||||
sh 'npm install -g npm-cli-login'
|
sh 'npm install -g npm-cli-login'
|
||||||
}
|
}
|
||||||
stage('Set Version') {
|
stage('Set Version') {
|
||||||
|
|
Loading…
Reference in New Issue