jenkins config node tool

This commit is contained in:
Joan Sanchez 2018-10-24 11:14:10 +02:00
parent af508b664c
commit bc0f8ef59e
1 changed files with 2 additions and 0 deletions

2
Jenkinsfile vendored
View File

@ -17,6 +17,8 @@ switch (env.BRANCH_NAME) {
} }
node { node {
tools {nodejs 'node'}
stage ('Print environment variables') { stage ('Print environment variables') {
echo "Branch ${env.BRANCH_NAME}, build number ${env.BUILD_NUMBER}, environment ${env.NODE_ENV}" echo "Branch ${env.BRANCH_NAME}, build number ${env.BUILD_NUMBER}, environment ${env.NODE_ENV}"
} }