From 447504667f74d5d23080e34e56f5578dbfcb397d Mon Sep 17 00:00:00 2001 From: andrzej Date: Thu, 3 Oct 2024 18:36:24 +0200 Subject: [PATCH] fix: delete old standalone folder before making new one! --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index a3d3e4a..1ee2541 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,7 +13,9 @@ agent any sh 'cp -r public standalone/' sh 'cp -r prisma standalone/' sh 'cp -r .next/static standalone/.next/' + sh 'cp -r .next/standalone/** standalone/' sh ' tar -cf subman.tar.gz standalone ' + sh 'rm -r standalone' } } stage('deploy'){