session-companion/Jenkinsfile

14 lines
342 B
Plaintext
Raw Normal View History

pipeline {
2020-12-02 19:28:44 +01:00
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')
2020-12-02 19:17:49 +01:00
}
}
}