SES-79 More fighting with Jenkinsfile
This commit is contained in:
parent
1f5344f3c8
commit
e72f038c21
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -1,12 +1,13 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
|
stages {
|
||||||
stage('Build image') {
|
stage('Build image') {
|
||||||
checkout scm
|
checkout scm
|
||||||
dir('SessionCompanion') {
|
dir('SessionCompanion') {
|
||||||
docker.build("session-companion:${env.BUILD_ID}")
|
docker.build("session-companion:${env.BUILD_ID}")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build app') {
|
||||||
|
docker.image("session-companion:${env.BUILD_ID}").withRun('-p 5050:5050')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build app') {
|
|
||||||
docker.image("session-companion:${env.BUILD_ID}").withRun('-p 5050:5050')
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user