diff --git a/Jenkinsfile b/Jenkinsfile index 685407f..d3f4a81 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" }