changed run stage

This commit is contained in:
hllvc 2021-07-11 13:08:54 +02:00
parent 82c7247d8a
commit 9919fee5fc

22
Jenkinsfile vendored
View file

@ -18,16 +18,22 @@ pipeline {
}
stage('Run') {
agent {
dockerfile {
filename 'Dockerfile.run'
dir '.'
additionalBuildArgs '-t hllvc/spring-petclinic:latest'
steps {
script {
def runtimeImage = docker.build('petclinic', '-f Dockerfile.run')
runtimeImage.run();
}
}
steps {
sh 'docker-compose up'
}
/* agent { */
/* dockerfile { */
/* filename 'Dockerfile.run' */
/* dir '.' */
/* additionalBuildArgs '-t hllvc/spring-petclinic:latest' */
/* } */
/* } */
/* steps { */
/* sh 'docker-compose up' */
/* } */
}
}