SQSCANGHA-3 Permission cleanup doesn't run if the scanner exits with a non-0 code (#33)
This commit is contained in:
committed by
GitHub
parent
bdba66714e
commit
fd8151470c
@@ -27,7 +27,3 @@ unset JAVA_HOME
|
||||
|
||||
sonar-scanner -Dsonar.projectBaseDir=${INPUT_PROJECTBASEDIR} ${INPUT_ARGS}
|
||||
|
||||
_tmp_file=$(ls "${INPUT_PROJECTBASEDIR}/" | head -1)
|
||||
PERM=$(stat -c "%u:%g" "${INPUT_PROJECTBASEDIR}/$_tmp_file")
|
||||
|
||||
chown -R $PERM "${INPUT_PROJECTBASEDIR}/"
|
||||
|
||||
Reference in New Issue
Block a user