File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,12 @@ function create_fresh_project {
3737 opt_token=" -Dsonar.login=${token} "
3838 fi
3939 curl -X POST -u " ${usertoken} :" " ${url} /api/projects/delete?project=${key} "
40- conf/scan .sh " ${opts[@]} " -Dsonar.projectKey=" ${key} " -Dsonar.projectName=" ${key} " -Dsonar.host.url=" ${url} " " ${opt_token} " " ${opt_org} "
40+ conf/run_scanner .sh " ${opts[@]} " -Dsonar.projectKey=" ${key} " -Dsonar.projectName=" ${key} " -Dsonar.host.url=" ${url} " " ${opt_token} " " ${opt_org} "
4141 return 0
4242}
4343
44+ conf/run_linters.sh
45+
4446create_fresh_project " ${SYNC_PROJECT_KEY} " " ${SONAR_HOST_URL_TEST:? } " " ${SONAR_TOKEN_TEST_ADMIN_USER} " " ${SONAR_TOKEN_TEST_ADMIN_ANALYSIS} " -nolint
4547create_fresh_project " ${SYNC_PROJECT_KEY} " " ${SONAR_HOST_URL_LATEST:? } " " ${SONAR_TOKEN_LATEST_ADMIN_USER} " " ${SONAR_TOKEN_LATEST_ADMIN_ANALYSIS} "
4648create_fresh_project " ${SYNC_PROJECT_KEY} " " ${SONAR_HOST_URL_CB:? } " " ${SONAR_TOKEN_CB_ADMIN_USER} " " ${SONAR_TOKEN_CB_ADMIN_ANALYSIS} "
You can’t perform that action at this time.
0 commit comments