docker tool

This commit is contained in:
Joan Sanchez 2018-10-25 07:39:40 +02:00
parent 8ebabfd0f8
commit 56322ca520
1 changed files with 3 additions and 2 deletions

5
Jenkinsfile vendored
View File

@ -17,7 +17,7 @@ switch (env.BRANCH_NAME) {
} }
node { 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}"
} }
stage ('Checkout') { stage ('Checkout') {
@ -36,7 +36,8 @@ node {
nodejs('node-8.12.0') { nodejs('node-8.12.0') {
sh "gulp build" sh "gulp build"
} }
}
} */
stage ('Generating new dockers') { stage ('Generating new dockers') {
docker.build('vn-loopback:latest ./services/loopback/'); docker.build('vn-loopback:latest ./services/loopback/');