jenkins config node tool
This commit is contained in:
parent
af508b664c
commit
bc0f8ef59e
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue