From 2c0bf745534c7754e9e075730cd57443b1b5e82f Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Sun, 31 Dec 2023 21:08:25 +0800 Subject: [PATCH] Laravel Vapor - Test run command to do housekeeping as part of deployment process --- Jenkinsfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 44f056d8..623be806 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -53,14 +53,6 @@ pipeline { } } - stage('Cleanup') { - steps { - script { - sh 'docker image prune -a -f' - } - } - } - stage('Deploy') { steps { script{ @@ -84,6 +76,14 @@ pipeline { } } } + + stage('Cleanup') { + steps { + script { + sh 'docker image prune -a -f' + } + } + } } }