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

jenkins enable unit tests

parent 36377ff9
No related branches found
No related tags found
No related merge requests found
...@@ -38,16 +38,16 @@ pipeline { ...@@ -38,16 +38,16 @@ pipeline {
sh 'npm run ci-build' sh 'npm run ci-build'
} }
// sh 'npm run ci-test' sh 'npm run ci-test'
} }
} }
} }
} }
// post { post {
// always{ always{
// junit testResults: 'goofy-client/test-report.xml', skipPublishingChecks: true junit testResults: 'goofy-client/junit.xml', skipPublishingChecks: true
// } }
// } }
} }
stage('Server') { stage('Server') {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"test:debug:lib": "run-s \"ng -- test {1} --detectOpenHandles --watchAll\" --", "test:debug:lib": "run-s \"ng -- test {1} --detectOpenHandles --watchAll\" --",
"ci-build": "ng build --outputHashing=all", "ci-build": "ng build --outputHashing=all",
"ci-prodBuild": "ng build --prod --outputHashing=all --prod", "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", "ci-sonar": "sonar-scanner",
"lint": "nx workspace-lint && ng lint", "lint": "nx workspace-lint && ng lint",
"affected:apps": "nx affected:apps", "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