[📝] Jenkinsfile 수정
Some checks reported errors
AcaMate-API/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
AcaMate-API/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
7c573c7ffe
commit
22d9d86b7e
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -22,7 +22,7 @@ pipeline {
|
|||
def containerId = sh(script: "docker ps -qf 'name=${DOCKER_RELEASE_RUN_CONTAINER}'", returnStdout: true).trim()
|
||||
if (containerId) {
|
||||
sh "docker cp ${WORKSPACE}/. ${containerId}:${APP_VOLUME}"
|
||||
sh "docker start ${containerId}"
|
||||
sh "docker start ${DOCKER_RELEASE_CONTAINER}"
|
||||
} else {
|
||||
error "Docker container ${DOCKER_RELEASE_RUN_CONTAINER} not found"
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ pipeline {
|
|||
def containerId = sh(script: "docker ps -qf 'name=${DOCKER_DEBUG_RUN_CONTAINER}'", returnStdout: true).trim()
|
||||
if (containerId) {
|
||||
sh "docker cp ${WORKSPACE}/. ${containerId}:${APP_VOLUME}"
|
||||
sh "docker start ${containerId}"
|
||||
sh "docker start ${DOCKER_DEBUG_CONTAINER}"
|
||||
} else {
|
||||
error "Docker container ${DOCKER_DEBUG_RUN_CONTAINER} not found"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user