From 0fecaa501b63e19444f1581aa0150ce09649d263 Mon Sep 17 00:00:00 2001 From: L_DelOff Date: Tue, 21 Nov 2023 13:59:29 +0300 Subject: [PATCH] fix --- Jenkinsfile_CI | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile_CI b/Jenkinsfile_CI index a216543..412ed8b 100644 --- a/Jenkinsfile_CI +++ b/Jenkinsfile_CI @@ -17,12 +17,13 @@ pipeline { sh 'mvn -B -DskipTests -X clean package spring-boot:repackage' } } - } - stage('Prune images') { - steps { - sh """ - sshpass -p ${SSH_PASS} ssh -o StrictHostKeyChecking=no ${SSH_USER}@${SSH_HOST} -p ${SSH_PORT} 'docker image prune -f' - """ + stage('Prune images') { + steps { + sh """ + sshpass -p ${SSH_PASS} ssh -o StrictHostKeyChecking=no ${SSH_USER}@${SSH_HOST} -p ${SSH_PORT} 'docker image prune -f' + """ + } } } + } \ No newline at end of file