From f8950b21bbeed38e0b5b30183121fb6b639e27df Mon Sep 17 00:00:00 2001 From: Flook Date: Sat, 1 Feb 2025 04:40:02 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=94=E0=B8=AA=E0=B8=AD=E0=B8=9A?= =?UTF-8?q?=20DevSecOps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7b2ee26..e1aff84 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,9 +13,11 @@ steps: SONAR_TOKEN: from_secret: SCANNER_TOKEN commands: - - mkdir -p ~/.scannerwork - - chmod -R 777 ~/.scannerwork - - sonar-scanner -Dsonar.projectKey=gitea_opengis -Dsonar.login=$SONAR_LOGIN -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.token=$SONAR_TOKEN -Dsonar.working.directory=~/.scannerwork + - ls -l /drone/src + - ls -l /tmp + - mkdir -p /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 - name: Deploy to Server image: curlimages/curl:latest