Skip to content

Commit 5244a04

Browse files
committed
move task upper
1 parent b26fd15 commit 5244a04

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

azure-pipelines/templates/docker-build-push-jobs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@ jobs:
135135
- task: SonarCloudAnalyze@4
136136
inputs: {}
137137

138+
- ${{ if eq(parameters.sonarCloudEnabled, true) }}:
139+
- task: SonarCloudPublish@4
140+
inputs:
141+
pollingTimeoutSec: "300"
142+
138143
- ${{ if eq(parameters.shouldRunUnitTests, true) }}:
139144
- task: DotnetCoreCLI@2
140145
displayName: 'Run unit tests'
@@ -186,8 +191,3 @@ jobs:
186191
tags: |
187192
$(version_step.semVer)
188193
latest
189-
190-
- ${{ if eq(parameters.sonarCloudEnabled, true) }}:
191-
- task: SonarCloudPublish@4
192-
inputs:
193-
pollingTimeoutSec: "300"

0 commit comments

Comments
 (0)