diff --git a/Jenkinsfile b/Jenkinsfile index 75c1ce0f..5d56f6b1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,23 +27,14 @@ pipeline { } } - stage('Run Unit Tests') { - steps { - sh 'npm test' - } - } - stage('Build Project') { steps { - sh 'npm run build 2>&1 | tee build_report.log' // Captures build output + sh 'npm run build' } } } post { always { - junit '**/reports/junit.xml' - archiveArtifacts artifacts: 'reports/**', fingerprint: true - archiveArtifacts artifacts: 'build_report.log', fingerprint: true cleanWs(cleanWhenNotBuilt: false, notFailBuild: true) } success {