try different directory structure
Gitea/subman-nextjs/pipeline/head There was a failure building this commit Details

This commit is contained in:
andrzej 2024-10-03 17:23:27 +02:00
parent 01e7e20686
commit 4089ce3960
1 changed files with 5 additions and 3 deletions

8
Jenkinsfile vendored
View File

@ -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 '
}
}