fix: delete old standalone folder before making new one!
Gitea/subman-nextjs/pipeline/head This commit is unstable Details

This commit is contained in:
andrzej 2024-10-03 18:36:24 +02:00
parent 9179aab7d4
commit 4c19161d0b
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -14,6 +14,7 @@ agent any
sh 'cp -r prisma standalone/' sh 'cp -r prisma standalone/'
sh 'cp -r .next/static standalone/.next/' sh 'cp -r .next/static standalone/.next/'
sh ' tar -cf subman.tar.gz standalone ' sh ' tar -cf subman.tar.gz standalone '
sh 'rm -r standalone'
} }
} }
stage('deploy'){ stage('deploy'){