SES-79 Check with Jenkinsfile

This commit is contained in:
Karol Górzyński 2020-12-02 19:17:49 +01:00
parent f3c55bf7e3
commit e183f7e161

View File

@ -3,7 +3,9 @@ pipeline {
stage('Build image') {
checkout scm
app = docker.build("session-companion:${env.BUILD_ID}")
dir('SessionCompanion') {
app = docker.build("session-companion:${env.BUILD_ID}")
}
}
stage('Build app') {
docker.image("session-companion:${env.BUILD_ID}").withRun(-p 8080:8080)