session-companion/SessionCompanion/Jenkinsfile

12 lines
259 B
Plaintext
Raw Normal View History

pipeline {
def app
stage('Build image') {
checkout scm
app = docker.build("session-companion:${env.BUILD_ID}")
}
stage('Build app') {
docker.image("session-companion:${env.BUILD_ID}").withRun(-p 8080:8080)
}
}