From 4089ce396068d0dc3938a4627385d6767467e0b9 Mon Sep 17 00:00:00 2001 From: andrzej Date: Thu, 3 Oct 2024 17:23:27 +0200 Subject: [PATCH] try different directory structure --- Jenkinsfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7c304c7..b256be6 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 app' + sh 'cp -r public app/' + sh 'cp -r prisma app/' + sh 'cp -r .next/static app/.next/' + sh 'cp -r .next/standalone/ app/' sh ' tar -C .next -cf subman.tar.gz standalone ' } }