session-companion/Jenkinsfile

13 lines
291 B
Plaintext
Raw Normal View History

pipeline {
stage('Build image') {
checkout scm
2020-12-02 19:17:49 +01:00
dir('SessionCompanion') {
2020-12-02 19:21:48 +01:00
docker.build("session-companion:${env.BUILD_ID}")
2020-12-02 19:17:49 +01:00
}
}
stage('Build app') {
2020-12-02 19:20:18 +01:00
docker.image("session-companion:${env.BUILD_ID}").withRun('-p 5050:5050')
}
}