Skip to content
Snippets Groups Projects
Commit 74ffeea5 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-2958 OZG-3245 Ready for Jenkins + Node 16

parent b3ab4b93
Branches
Tags
No related merge requests found
...@@ -63,10 +63,10 @@ pipeline { ...@@ -63,10 +63,10 @@ pipeline {
sh 'npm --version' sh 'npm --version'
dir('goofy-client') { dir('goofy-client') {
sh 'echo "registry=https://nexus.ozg-sh.de/repository/npm-proxy" >> ~/.npmrc' sh 'echo "registry=https://nexus.ozg-sh.de/repository/npm-proxy" >> ~/.npmrc'
sh 'echo "_auth=amVua2luczpQaihzX0ZNNFU5ZC8=" >> ~/.npmrc' sh 'echo "//nexus.ozg-sh.de/:_auth=amVua2luczpQaihzX0ZNNFU5ZC8=registry=https://nexus.ozg-sh.de/repository/npm-proxy" >> ~/.npmrc'
sh 'npm cache verify' sh 'npm cache verify'
sh 'npm install --legacy-peer-deps' sh 'npm ci --legacy-peer-deps'
if (env.BRANCH_NAME == 'release') { if (env.BRANCH_NAME == 'release') {
sh 'npm run ci-prodBuild' sh 'npm run ci-prodBuild'
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -33,16 +33,16 @@ ...@@ -33,16 +33,16 @@
"dep-graph": "nx dep-graph", "dep-graph": "nx dep-graph",
"help": "nx help", "help": "nx help",
"favicon": "real-favicon generate favicon/faviconDescription.json favicon/faviconData.json src/favicon", "favicon": "real-favicon generate favicon/faviconDescription.json favicon/faviconData.json src/favicon",
"cypress:run": "npx cypress run --project apps/goofy-e2e", "cypress:run": "npx cypress run --project apps/goofy-e2e --config video=false",
"cypress:version": "npx cypress version", "cypress:version": "npx cypress version",
"cypress:install": "npx cypress install", "cypress:install": "npx cypress install",
"cypress:open": "npx cypress open --project apps/goofy-e2e", "cypress:open": "npx cypress open --project apps/goofy-e2e",
"cypress:ci-run": "npm run cypress:delete-old-reports --REPORT_FOLDER=$npm_config_REPORT_FOLDER ; npm run cypress:run -- --config-file ./$npm_config_CONFIG_FILE ; test=$(echo \"$?\") ; npm run cypress:pre-merge --REPORT_FOLDER=$npm_config_REPORT_FOLDER ; npm run cypress:generate-report --REPORT_FOLDER=$npm_config_REPORT_FOLDER ; exit $test", "cypress:ci-run": "npm run cypress:delete-old-reports --REPORT_FOLDER=${npm_config_report_folder} ; NO_COLOR=1 npm run cypress:run -- --config-file ./${npm_config_config_file} ; test=$(echo \"$?\") ; npm run cypress:pre-merge --REPORT_FOLDER=${npm_config_report_folder} ; npm run cypress:generate-report --REPORT_FOLDER=${npm_config_report_folder} ; exit $test",
"cypress:delete-old-reports": "REPORT_FOLDER=$npm_config_REPORT_FOLDER node apps/goofy-e2e/src/support/delete-old-reports.ts", "cypress:delete-old-reports": "REPORT_FOLDER=${npm_config_report_folder} node apps/goofy-e2e/src/support/delete-old-reports.ts",
"cypress:pre-merge": "REPORT_FOLDER=$npm_config_REPORT_FOLDER node apps/goofy-e2e/src/support/pre-merge.ts", "cypress:pre-merge": "REPORT_FOLDER=${npm_config_report_folder} node apps/goofy-e2e/src/support/pre-merge.ts",
"cypress:generate-report": "npm run cypress:merge-report --REPORT_FOLDER=$npm_config_REPORT_FOLDER ; npm run cypress:generate-html --REPORT_FOLDER=$npm_config_REPORT_FOLDER", "cypress:generate-report": "npm run cypress:merge-report --REPORT_FOLDER=${npm_config_report_folder} ; npm run cypress:generate-html --REPORT_FOLDER=${npm_config_report_folder}",
"cypress:merge-report": "mochawesome-merge apps/goofy-e2e/reports/$npm_config_REPORT_FOLDER/mochawesome-report/**/*.json > apps/goofy-e2e/reports/$npm_config_REPORT_FOLDER/report.json", "cypress:merge-report": "mochawesome-merge apps/goofy-e2e/reports/${npm_config_report_folder}/mochawesome-report/**/*.json > apps/goofy-e2e/reports/${npm_config_report_folder}/report.json",
"cypress:generate-html": "marge apps/goofy-e2e/reports/$npm_config_REPORT_FOLDER/report.json -f report -o apps/goofy-e2e/reports/$npm_config_REPORT_FOLDER", "cypress:generate-html": "marge apps/goofy-e2e/reports/${npm_config_report_folder}/report.json -f report -o apps/goofy-e2e/reports/${npm_config_report_folder}",
"workspace-generator": "nx workspace-generator", "workspace-generator": "nx workspace-generator",
"sonar-scanner": "npm test -- --testResultsProcessor='jest-sonar-reporter' && sonar-scanner -Dsonar.host.url=https://sonarqube.ozg-sh.de/ -Dsonar.login=364c6e09430714838730a83f55d3369a7ffda0e9" "sonar-scanner": "npm test -- --testResultsProcessor='jest-sonar-reporter' && sonar-scanner -Dsonar.host.url=https://sonarqube.ozg-sh.de/ -Dsonar.login=364c6e09430714838730a83f55d3369a7ffda0e9"
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment