SES-79 More fighting with Jenkinsfile

This commit is contained in:
Karol Górzyński 2020-12-02 19:28:44 +01:00
parent 1f5344f3c8
commit e72f038c21

17
Jenkinsfile vendored
View File

@ -1,12 +1,13 @@
pipeline {
stage('Build image') {
checkout scm
dir('SessionCompanion') {
docker.build("session-companion:${env.BUILD_ID}")
stages {
stage('Build image') {
checkout scm
dir('SessionCompanion') {
docker.build("session-companion:${env.BUILD_ID}")
}
}
stage('Build app') {
docker.image("session-companion:${env.BUILD_ID}").withRun('-p 5050:5050')
}
}
stage('Build app') {
docker.image("session-companion:${env.BUILD_ID}").withRun('-p 5050:5050')
}
}