From a956a94cbf2f47f40e36413517c8efb1667d04ca Mon Sep 17 00:00:00 2001 From: shindw Date: Wed, 4 Feb 2026 17:38:08 +0900 Subject: [PATCH] =?UTF-8?q?[api]=20Jenkinsfile.pjt=20-=20=EB=A0=88?= =?UTF-8?q?=ED=8C=8C=EC=A7=80=ED=86=A0=EB=A6=AC=20=EC=9D=B4=EB=AF=B8?= =?UTF-8?q?=EC=A7=80=20=EB=AA=A9=EB=A1=9D=20=EC=A1=B0=ED=9A=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile.pjt | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile.pjt b/Jenkinsfile.pjt index 27f5dbb..d983cf0 100644 --- a/Jenkinsfile.pjt +++ b/Jenkinsfile.pjt @@ -224,17 +224,6 @@ pipeline { } } - stage('jq tools install') { - steps { - sh ''' - if ! command -v jq >/dev/null; then - sudo apt-get update -y - sudo apt-get install -y jq - fi - ''' - } - } - stage('12) registry docker image cleanup') { steps { withCredentials([usernamePassword( @@ -245,6 +234,8 @@ pipeline { sh ''' set -e + command -v jq >/dev/null 2>&1 || (sudo apt-get update -y && sudo apt-get install -y jq) + echo "[1/2] docker registry login" echo "$DOCKER_PASS" | docker login ${REGISTRY_HOST} -u "$DOCKER_USER" --password-stdin