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