This commit is contained in:
parent
50ef6a2bb3
commit
f8950b21bb
@ -13,9 +13,11 @@ steps:
|
|||||||
SONAR_TOKEN:
|
SONAR_TOKEN:
|
||||||
from_secret: SCANNER_TOKEN
|
from_secret: SCANNER_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p ~/.scannerwork
|
- ls -l /drone/src
|
||||||
- chmod -R 777 ~/.scannerwork
|
- ls -l /tmp
|
||||||
- sonar-scanner -Dsonar.projectKey=gitea_opengis -Dsonar.login=$SONAR_LOGIN -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.token=$SONAR_TOKEN -Dsonar.working.directory=~/.scannerwork
|
- 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
|
- name: Deploy to Server
|
||||||
image: curlimages/curl:latest
|
image: curlimages/curl:latest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user