nodejs tool

This commit is contained in:
Joan Sanchez 2018-10-24 14:10:41 +02:00
parent 001ca835ee
commit e7ead4be1c
1 changed files with 24 additions and 17 deletions

7
Jenkinsfile vendored
View File

@ -17,6 +17,12 @@ switch (env.BRANCH_NAME) {
}
node {
agent any
tools {
nodejs 'node'
}
stages {
stage ('Print environment variables') {
echo "Branch ${env.BRANCH_NAME}, build number ${env.BUILD_NUMBER}, environment ${env.NODE_ENV}"
}
@ -36,4 +42,5 @@ node {
sh "docker-compose up -d --build"
sh "docker image prune -f"
}
}
}