SES-79 Check with Jenkinsfile
This commit is contained in:
parent
f3c55bf7e3
commit
e183f7e161
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