Skip to content

Commit 8dd4916

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent 5b82078 commit 8dd4916

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ trigger:
44
pool:
55
vmImage: ubuntu-latest
66

7-
variables:
8-
SONAR_PROJECTKEY: 'azure-the-test'
9-
SONAR_HOST_URL: $(SONAR_HOST_URL)
10-
SONAR_TOKEN: $(SONAR_TOKEN)
11-
127
steps:
138
- checkout: self
149
displayName: 'Checkout Source'
1510

1611
- script: |
1712
echo $(SONAR_HOST_URL); sleep 10
1813
docker pull blacklocksec/code-scanner:latest
19-
docker run --rm -v $(Build.SourcesDirectory):/app -e SONAR_PROJECTKEY=$(SONAR_PROJECTKEY) -e SONAR_HOST_URL=$(SONAR_HOST_URL) -e SONAR_TOKEN=$(SONAR_TOKEN) blacklocksec/code-scanner:latest
14+
docker run --rm -v $(Build.SourcesDirectory):/app -e SONAR_PROJECTKEY='azure-the-test' -e SONAR_HOST_URL=$(SONAR_HOST_URL) -e SONAR_TOKEN=$(SONAR_TOKEN) blacklocksec/code-scanner:latest
2015
displayName: 'Run Blacklock Code Scanner'
2116
env:
2217
SONAR_HOST_URL: $(SONAR_HOST_URL)

0 commit comments

Comments
 (0)