[👷] whoami 테스트
Some checks failed
Stein_Front/pipeline/head There was a failure building this commit

This commit is contained in:
김선규 2024-07-24 17:18:15 +09:00
parent 7ec3d78cd8
commit 1a08f673be

2
Jenkinsfile vendored
View File

@ -16,6 +16,8 @@ pipeline {
stage('Deploy') {
steps {
script {
// 현재 사용자 정보 출력
sh 'whoami'
// Docker 컨테이너 ID 가져오기
def containerId = sh(script: "docker ps -qf 'name=${DOCKER_CONTAINER_NAME}'", returnStdout: true).trim()
if (containerId) {