From 792600b49dbbfae94f8d05ade6b2888705d75261 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index efe56d9..19f04d3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,7 +10,7 @@ agent any sh 'npm install' sh 'npm run build' sh 'cp -r public .next/standalone' - sh 'cp -r .next/static .next/standalone/.next' + sh 'mkdir -p .next/standalone/public/_next && cp -r .next/static .next/standalone/public/_next/' sh ' tar -C .next -cf subman.tar.gz standalone ' } }