Skip to content

Commit

Permalink
adds sounarcloud build
Browse files Browse the repository at this point in the history
  • Loading branch information
dimtsap committed Apr 10, 2022
1 parent b0c674a commit c6cfa72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
displayName: Shows currently compiling version
- task: SonarCloudPrepare@1
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/master'),eq(variables['Build.Reason'], 'PullRequest'))
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/master'),eq(variables['Build.SourceBranch'], 'refs/heads/Development'),eq(variables['Build.Reason'], 'PullRequest'))
inputs:
SonarCloud: 'SonarCloud.UQpy'
organization: 'jhusurg'
Expand Down Expand Up @@ -91,10 +91,10 @@ jobs:
additionalCodeCoverageFiles: '$(System.DefaultWorkingDirectory)/ **'

- task: SonarCloudAnalyze@1
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/master'),eq(variables['Build.Reason'], 'PullRequest'))
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/master'),eq(variables['Build.SourceBranch'], 'refs/heads/Development'),eq(variables['Build.Reason'], 'PullRequest'))

- task: SonarCloudPublish@1
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/master'),eq(variables['Build.Reason'], 'PullRequest'))
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/master'),eq(variables['Build.SourceBranch'], 'refs/heads/Development'),eq(variables['Build.Reason'], 'PullRequest'))
inputs:
pollingTimeoutSec: '300'

Expand Down

0 comments on commit c6cfa72

Please sign in to comment.