Skip to content
Merged
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
25 changes: 21 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ variables:
- name: Build.Arcade.VSIXOutputPath
value: $(Build.Arcade.ArtifactsPath)VSIX

# Enable extraction of published outputs for analysis
- name: GDN_EXTRACT_TOOLS
value: 'binskim,bandit,roslynanalyzers'

- name: GDN_EXTRACT_FILTER
value: 'f|**/*.zip;f|**/*.nupkg;f|**/*.vsix;f|**/*.cspkg;f|**/*.sfpkg;f|**/*.package'

- ${{ if or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/validation/'), eq(variables['Build.Reason'], 'Manual')) }}:
- name: PostBuildSign
value: false
Expand Down Expand Up @@ -131,6 +138,8 @@ resources:
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
featureFlags:
binskimScanAllExtensions: true
sdl:
policheck:
enabled: true
Expand All @@ -152,18 +161,19 @@ extends:
jobs:
- template: /eng/common/templates-official/jobs/jobs.yml@self
parameters:
artifacts:
publish:
logs: true
manifests: true
enableMicrobuild: true
enableTelemetry: true
enableSourceIndex: ${{ variables['enableSourceIndex'] }}
runAsPublic: ${{ variables['runAsPublic'] }}
# Publish build logs
enablePublishBuildArtifacts: true
# Publish test logs
enablePublishTestResults: true
# Publish NuGet packages using v3
# https://github.com/dotnet/arcade/blob/main/Documentation/CorePackages/Publishing.md#basic-onboarding-scenario-for-new-repositories-to-the-current-publishing-version-v3
enablePublishUsingPipelines: true
enablePublishBuildAssets: true
workspace:
clean: all

Expand All @@ -187,9 +197,16 @@ extends:
outputs:
- output: pipelineArtifact
displayName: 'Publish Azure DevOps extension artifacts'
condition: succeeded()
targetPath: '$(Build.Arcade.VSIXOutputPath)'
artifactName: 'VSIXArtifacts'
condition: always()
continueOnError: true
- output: pipelineArtifact
displayName: 'Publish Packages'
targetPath: '$(Build.Arcade.ArtifactsPath)packages'
artifactName: 'PackageArtifacts_Windows'
condition: always()
continueOnError: true

preSteps:
- checkout: self
Expand Down
Loading