Modify jenkinsfile for building tailwind (again)
This commit is contained in:
parent
ed9377156d
commit
ff8bb8d911
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user