I've solve the permission problem for the cc-test-reporter.
I've also add a check_secret job to check if all the codeclimate report is necessary to run or not
The Saptune_unit_test in case of CC_TEST_REPORTER_ID is set it will wait the end of Code_climate_report_before_build to finish, if not will run anyway thanks to the always() condition added. This will reduce the time spent in running the cc-test-reporter when not necessary and saving 30~60sec for every build.
check_secret
job to check if all the codeclimate report is necessary to run or notThe
Saptune_unit_test
in case of CC_TEST_REPORTER_ID is set it will wait the end ofCode_climate_report_before_build
to finish, if not will run anyway thanks to thealways()
condition added. This will reduce the time spent in running the cc-test-reporter when not necessary and saving 30~60sec for every build.