Modify jenkinsfile for building tailwind (again)

main
Araozu 2023-12-03 08:02:07 -05:00
parent ed9377156d
commit ff8bb8d911
1 changed files with 1 additions and 2 deletions

View File

@ -15,12 +15,11 @@ pipeline {
sh './mvnw clean package'
}
}
stage('Build frontend') {
stage('Build tailwind') {
environment {
PATH = "/var/lib/jenkins/.nvm/versions/node/v20.9.0/bin:${env.WORKSPACE}/node_modules/.bin:${env.PATH}"
}
steps {
sh 'cd frontend && npm install && npm run build'
dir("src/main/resources/frontend") {
sh 'pnpm i'
sh 'pnpm build'