nodejs tool
This commit is contained in:
parent
001ca835ee
commit
e7ead4be1c
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue