From b9e94257b330f7dc67051506ff8a3ba81f3730c5 Mon Sep 17 00:00:00 2001 From: andrzej Date: Thu, 3 Oct 2024 15:49:25 +0200 Subject: [PATCH] change static directory cf this issue https://github.com/vercel/next.js/issues/49283 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index efe56d9..3af2810 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,8 +9,8 @@ agent any steps{ sh 'npm install' sh 'npm run build' - sh 'cp -r public .next/standalone' - sh 'cp -r .next/static .next/standalone/.next' + sh 'cp -r public .next/standalone/' + sh 'cp -r .next/static .next/standalone/.next/' sh ' tar -C .next -cf subman.tar.gz standalone ' } }