This commit is contained in:
parent
cfbb2afeff
commit
2161f09398
@ -8,14 +8,12 @@ steps:
|
||||
environment:
|
||||
SONAR_HOST_URL:
|
||||
from_secret: SCANNER_HOST_URL
|
||||
SONAR_LOGIN:
|
||||
from_secret: SCANNER_LOGIN
|
||||
SONAR_TOKEN:
|
||||
from_secret: SCANNER_TOKEN
|
||||
commands:
|
||||
- mkdir -p /tmp/.scannerwork
|
||||
- chmod -R 777 /tmp/.scannerwork
|
||||
- sonar-scanner -Dsonar.projectKey=gitea_opengis -Dsonar.token=$SONAR_LOGIN -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.token=$SONAR_TOKEN -Dsonar.working.directory=/tmp/.scannerwork
|
||||
- sonar-scanner -Dsonar.projectKey=gitea_opengis -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.token=$SONAR_TOKEN -Dsonar.working.directory=/tmp/.scannerwork
|
||||
|
||||
- name: Deploy to Server
|
||||
image: curlimages/curl:latest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user