Modify jenkinsfile for building tailwind (again)
This commit is contained in:
parent
ed9377156d
commit
ff8bb8d911
@ -15,12 +15,11 @@ pipeline {
|
|||||||
sh './mvnw clean package'
|
sh './mvnw clean package'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build frontend') {
|
stage('Build tailwind') {
|
||||||
environment {
|
environment {
|
||||||
PATH = "/var/lib/jenkins/.nvm/versions/node/v20.9.0/bin:${env.WORKSPACE}/node_modules/.bin:${env.PATH}"
|
PATH = "/var/lib/jenkins/.nvm/versions/node/v20.9.0/bin:${env.WORKSPACE}/node_modules/.bin:${env.PATH}"
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'cd frontend && npm install && npm run build'
|
|
||||||
dir("src/main/resources/frontend") {
|
dir("src/main/resources/frontend") {
|
||||||
sh 'pnpm i'
|
sh 'pnpm i'
|
||||||
sh 'pnpm build'
|
sh 'pnpm build'
|
||||||
|
Loading…
Reference in New Issue
Block a user