14 lines
309 B
Groovy
14 lines
309 B
Groovy
pipeline {
|
|
def app
|
|
|
|
stage('Build image') {
|
|
checkout scm
|
|
dir('SessionCompanion') {
|
|
app = docker.build("session-companion:${env.BUILD_ID}")
|
|
}
|
|
}
|
|
stage('Build app') {
|
|
docker.image("session-companion:${env.BUILD_ID}").withRun('-p 5050:5050')
|
|
}
|
|
}
|