SES-79 #3
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -18,11 +18,13 @@ pipeline {
|
||||
steps {
|
||||
echo "Building docker image"
|
||||
script {
|
||||
dir('SessionCompanion'){
|
||||
def customImage = docker.build("session-companion:${env.BUILD_ID}")
|
||||
customImage.withRun('-p 5050:5050')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Delete image') {
|
||||
steps {
|
||||
sh "docker rmi session-companion:${env.BUILD_ID}"
|
||||
|
Loading…
Reference in New Issue
Block a user