File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ trigger:
4
4
pool :
5
5
vmImage : ubuntu-latest
6
6
7
- variables :
8
- SONAR_PROJECTKEY : ' azure-the-test'
9
- SONAR_HOST_URL : $(SONAR_HOST_URL)
10
- SONAR_TOKEN : $(SONAR_TOKEN)
11
-
12
7
steps :
13
8
- checkout : self
14
9
displayName : ' Checkout Source'
15
10
16
11
- script : |
17
12
echo $(SONAR_HOST_URL); sleep 10
18
13
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
20
15
displayName : ' Run Blacklock Code Scanner'
21
16
env :
22
17
SONAR_HOST_URL : $(SONAR_HOST_URL)
You can’t perform that action at this time.
0 commit comments