Merge pull request #664 from hanzalawebdev/main

This commit is contained in:
egelhaus 2025-03-28 07:41:03 +01:00 committed by GitHub
commit 0849bdc37f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -35,7 +35,7 @@ pipeline {
stage('Build Project') {
steps {
sh 'npm run build'
sh 'npm run build 2>&1 | tee build_report.log' // Captures build output
}
}
}
@ -44,6 +44,7 @@ pipeline {
always {
junit '**/reports/junit.xml'
archiveArtifacts artifacts: 'reports/**', fingerprint: true
archiveArtifacts artifacts: 'build_report.log', fingerprint: true
cleanWs(cleanWhenNotBuilt: false, notFailBuild: true)
}
success {