ทดสอบ DevSecOps
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Flook 2025-02-01 04:42:35 +07:00
parent f8950b21bb
commit 081efc0809

View File

@ -13,8 +13,6 @@ steps:
SONAR_TOKEN: SONAR_TOKEN:
from_secret: SCANNER_TOKEN from_secret: SCANNER_TOKEN
commands: commands:
- ls -l /drone/src
- ls -l /tmp
- mkdir -p /tmp/.scannerwork - mkdir -p /tmp/.scannerwork
- chmod -R 777 /tmp/.scannerwork - chmod -R 777 /tmp/.scannerwork
- sonar-scanner -Dsonar.projectKey=gitea_opengis -Dsonar.login=$SONAR_LOGIN -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.token=$SONAR_TOKEN -Dsonar.working.directory=/tmp/.scannerwork - sonar-scanner -Dsonar.projectKey=gitea_opengis -Dsonar.login=$SONAR_LOGIN -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.token=$SONAR_TOKEN -Dsonar.working.directory=/tmp/.scannerwork