diff --git a/Jenkinsfile b/Jenkinsfile index c3e99d842eeb80a19a538f57cbfc1f72a4d7391a..e2740eb973f5a3561c36944e7be7f520cff8f7e3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -38,16 +38,16 @@ pipeline { sh 'npm run ci-build' } - // sh 'npm run ci-test' + sh 'npm run ci-test' } } } } - // post { - // always{ - // junit testResults: 'goofy-client/test-report.xml', skipPublishingChecks: true - // } - // } + post { + always{ + junit testResults: 'goofy-client/junit.xml', skipPublishingChecks: true + } + } } stage('Server') { diff --git a/goofy-client/package.json b/goofy-client/package.json index 5db54ee2097594b3e5bb5ac88a514e0e09a44bbf..63e594c6f5da513e5b5a055ac0ae8eca88071c15 100644 --- a/goofy-client/package.json +++ b/goofy-client/package.json @@ -15,7 +15,7 @@ "test:debug:lib": "run-s \"ng -- test {1} --detectOpenHandles --watchAll\" --", "ci-build": "ng build --outputHashing=all", "ci-prodBuild": "ng build --prod --outputHashing=all --prod", - "ci-test": "jest test a --ci --coverage --testResultsProcessor='jest-sonar-reporter'", + "ci-test": "jest test a --ci --testResultsProcessor='jest-junit'", "ci-sonar": "sonar-scanner", "lint": "nx workspace-lint && ng lint", "affected:apps": "nx affected:apps",