Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions 02_azure-pipelines-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,17 @@ jobs:
displayName: 'PS : Add Project GUID'
enabled: false

- task: SonarCloudPrepare@1
displayName: 'Prepare analysis on SonarCloud'
inputs:
SonarCloud: SonarCloud
organization: houssemdellai
projectKey: WebAppWithDatabaseDemo
# - task: SonarCloudPrepare@1
# displayName: 'Prepare analysis on SonarCloud'
# inputs:
# SonarCloud: SonarCloud
# organization: houssemdellai
# projectKey: WebAppWithDatabaseDemo

- task: DotNetCoreCLI@2
displayName: Build
inputs:
#command: build
projects: '**/WebApp.csproj'
arguments: '--configuration $(BuildConfiguration)'

Expand All @@ -72,11 +73,11 @@ jobs:
arguments: '--configuration $(BuildConfiguration) --output $(build.artifactstagingdirectory)'
zipAfterPublish: True

- task: SonarCloudAnalyze@1
displayName: 'Run Code Analysis'
# - task: SonarCloudAnalyze@1
# displayName: 'Run Code Analysis'

- task: SonarCloudPublish@1
displayName: 'Publish Quality Gate Result'
# - task: SonarCloudPublish@1
# displayName: 'Publish Quality Gate Result'

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact (WebApp.zip)'
Expand Down
Binary file added pipelines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tests.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.