diff --git a/.drone.yml b/.drone.yml index bf8db83..1e59dcf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,7 @@ steps: commands: - 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 -Dsonar.java.binaries= # ไม่ต้องการไฟล์ .class สำหรับการสแกน + - 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 -Dsonar.exclusions=**/*.java # ยกเว้นไฟล์ .java จากการสแกน - name: Deploy to Server image: curlimages/curl:latest