Skip to content
Snippets Groups Projects
Commit 11fd89cd authored by OZGCloud's avatar OZGCloud
Browse files

jenkins enable unit tests

parent 36377ff9
Branches
Tags
No related merge requests found
......@@ -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') {
......
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment