From 7b6d4b1753894f03c5f97a07ed092f87e86e3959 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..3315529 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 'mkdir -p .next/standalone/_next && cp -r .next/static .next/standalone/_next/' sh ' tar -C .next -cf subman.tar.gz standalone ' } }