SES-79 #3
2
SessionCompanion/Jenkinsfile → Jenkinsfile
vendored
2
SessionCompanion/Jenkinsfile → Jenkinsfile
vendored
@ -3,8 +3,10 @@ pipeline {
|
|||||||
|
|
||||||
stage('Build image') {
|
stage('Build image') {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
dir('SessionCompanion') {
|
||||||
app = docker.build("session-companion:${env.BUILD_ID}")
|
app = docker.build("session-companion:${env.BUILD_ID}")
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('Build app') {
|
stage('Build app') {
|
||||||
docker.image("session-companion:${env.BUILD_ID}").withRun(-p 8080:8080)
|
docker.image("session-companion:${env.BUILD_ID}").withRun(-p 8080:8080)
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user