docker
This commit is contained in:
parent
56322ca520
commit
a57c8a6575
|
@ -36,14 +36,19 @@ 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/');
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'vn-loopback:latest'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//docker.build('vn-loopback:latest ./services/loopback/');
|
||||||
|
|
||||||
|
|
||||||
//sh "docker build -t vn-loopback:latest ./services/loopback/"
|
sh "docker build -t vn-loopback:latest ./services/loopback/"
|
||||||
sh "docker-compose up -d --build"
|
//sh "docker-compose up -d --build"
|
||||||
//sh "docker image prune -f"
|
//sh "docker image prune -f"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue