Skip to content

Commit 9ae2b01

Browse files
Update workflowTemplate.yaml
1 parent 3b1f289 commit 9ae2b01

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

workflows/sonar/versions/0.0.1/workflowTemplate.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,15 @@ spec:
3838
name: main
3939
imagePullPolicy: Always
4040
image: sonarsource/sonar-scanner-cli
41-
env:
42-
- name: SONAR_LOGIN_TOKEN
43-
valueFrom:
44-
secretKeyRef:
45-
name: '{{ inputs.parameters.SONAR_LOGIN }}'
46-
key: '{{ inputs.parameters.SONAR_LOGIN_SECRET_KEY }}'
41+
# env:
42+
# - name: SONAR_LOGIN
43+
# valueFrom:
44+
# secretKeyRef:
45+
# name: '{{ inputs.parameters.SONAR_LOGIN }}'
46+
# key: '{{ inputs.parameters.SONAR_LOGIN_SECRET_KEY }}'
4747

4848
command:
4949
- sonar-scanner
50-
- --help
5150
# - --rm
5251
# - -e SONAR_HOST_URL="http://'{{ inputs.parameters.SONAR_HOST_URL }}'"
5352
# - -e SONAR_LOGIN="$SONAR_LOGIN_TOKEN"

0 commit comments

Comments
 (0)