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') { stage('Run') {
agent { steps {
dockerfile { script {
filename 'Dockerfile.run' def runtimeImage = docker.build('petclinic', '-f Dockerfile.run')
dir '.' runtimeImage.run();
additionalBuildArgs '-t hllvc/spring-petclinic:latest'
} }
} }
steps { /* agent { */
sh 'docker-compose up' /* dockerfile { */
} /* filename 'Dockerfile.run' */
/* dir '.' */
/* additionalBuildArgs '-t hllvc/spring-petclinic:latest' */
/* } */
/* } */
/* steps { */
/* sh 'docker-compose up' */
/* } */
} }
} }