Skip to content

Commit

Permalink
Run on our infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-marichal committed Jun 10, 2024
1 parent 5dd8cae commit 7b666ac
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ trigger:
- master
- branch-*

pool:
vmImage: 'windows-latest'
pool: .net-bubble-aws-re-team-prod

variables:
- group: sonarsource-build-variables
Expand Down Expand Up @@ -79,8 +78,6 @@ stages:
commonMavenArguments: -B -Pdeploy-sonarsource -Dmaven.test.skip=true
steps:
- checkout: self
- task: NuGetToolInstaller@1
displayName: "Install NuGet"
- task: CacheBeta@0
enabled: true
displayName: Cache Maven local repo
Expand Down Expand Up @@ -211,18 +208,6 @@ stages:
nugetConfigPath: 'NuGet.Config'
verbosityRestore: 'normal' # Default is noisy 'Detailed'

- task: DotNetCoreCLI@2
displayName: Install CycloneDX
env:
ARTIFACTORY_USER: $(ARTIFACTORY_PRIVATE_READER_USERNAME)
ARTIFACTORY_PASSWORD: $(ARTIFACTORY_PRIVATE_READER_ACCESS_TOKEN)
inputs:
command: custom
custom: tool
feedsToUse: 'select'
includeNuGetOrg: true
arguments: 'install --global CycloneDX'

- task: DotNetCoreCLI@2
displayName: Dotnet generate SBOM
# https://sonarsource.atlassian.net/browse/BUILD-1303
Expand Down Expand Up @@ -543,7 +528,6 @@ stages:
WINDOWSSDKTARGET: '10.0.17763.0'
MAVEN_CACHE_FOLDER: $(Pipeline.Workspace)/.m2/repository
MAVEN_OPTS: '-Xmx3072m -Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
pool: .net-bubble-aws-re-team-prod
steps:
- checkout: self
fetchDepth: 1
Expand All @@ -566,10 +550,6 @@ stages:
targetPath: '$(Build.SourcesDirectory)\build'
artifactName: build

- task: NuGetToolInstaller@1
inputs:
versionSpec: '5.8.0'

- task: PowerShell@2
displayName: "Get version from artifact file"
inputs:
Expand Down

0 comments on commit 7b666ac

Please sign in to comment.