Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
NikRusakA1QA2 committed Aug 21, 2024
1 parent c6f3d4a commit bad9669
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ jobs:
displayName: Analyse code with SonarQube

steps:
- task: SonarCloudPrepare@1
displayName: 'Prepare SonarCloud analysis'
inputs:
SonarCloud: 'SonarCloud'
organization: 'aqualityautomation'
scannerMode: 'CLI'
configMode: 'file'
extraProperties: |
sonar.coverage.exclusions=**/**

- task: Maven@3
displayName: 'Build project'
Expand All @@ -31,23 +22,10 @@ jobs:
testResultsFiles: '**/surefire-reports/TEST-*.xml'
goals: 'clean'

- task: SonarCloudAnalyze@1
displayName: 'Run SonarCloud code analysis'
continueOnError: true

- task: SonarCloudPublish@1
displayName: 'Publish SonarCloud quality gate results'
inputs:
pollingTimeoutSec: '300'

- job: tests
displayName: Run tests

steps:
- task: ScreenResolutionUtility@1
displayName: 'Set optimal screen resolution'
inputs:
displaySettings: 'optimal'

- task: Maven@3
displayName: 'Run tests'
Expand Down

0 comments on commit bad9669

Please sign in to comment.