Skip to content

Commit c5c64a6

Browse files
committed
Jenkinsfile modified
1 parent 7bf0d39 commit c5c64a6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Jenkinsfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ pipeline {
2020
}
2121
}
2222

23+
stage('Build Frontend Assets') {
24+
steps {
25+
script {
26+
// Navigate to the frontend directory and build the frontend files
27+
dir('frontend') {
28+
bat 'npm install'
29+
bat 'npm run build' // This should create the "dist" folder
30+
}
31+
}
32+
}
33+
}
34+
2335
stage('Build Backend JAR') {
2436
steps {
2537
script {

0 commit comments

Comments
 (0)