diff --git a/Jenkinsfile b/Jenkinsfile index 7c304c7..0d4eb80 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,9 +9,11 @@ agent any steps{ sh 'npm install' sh 'npm run build' - sh 'cp -r public .next/standalone/' - sh 'cp -r prisma .next/standalone/' - sh 'cp -r .next/static .next/standalone/' + sh 'mkdir build' + sh 'cp -r public build/' + sh 'cp -r prisma build/' + sh 'cp -r .next/static build/.next/' + sh 'cp -r .next/standalone/ build/' sh ' tar -C .next -cf subman.tar.gz standalone ' } }