Updated for https://dev.azure.com/office/35d89fa2-df50-4442-9cb8-cc86… #7
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This pipeline will be triggered when either main branch is pushed or 2AM on workdays. | |
| variables: | |
| - name: tags | |
| value: "production" | |
| readonly: true | |
| trigger: | |
| branches: | |
| include: | |
| - main | |
| batch: True | |
| schedules: | |
| - cron: 0 2 * * 1-5 | |
| branches: | |
| include: | |
| - main | |
| resources: | |
| repositories: | |
| - repository: CustomPipelineTemplates | |
| type: git | |
| name: 1ESPipelineTemplates/OfficePipelineTemplates | |
| ref: refs/tags/release | |
| extends: | |
| template: v1/Office.Official.PipelineTemplate.yml@CustomPipelineTemplates | |
| parameters: | |
| pool: | |
| name: Azure-Pipelines-1ESPT-ExDShared | |
| image: windows-2022 | |
| os: windows | |
| customBuildTags: | |
| - ES365AIMigrationTooling | |
| stages: | |
| - stage: __default | |
| jobs: | |
| - job: ComponentGovernance | |
| displayName: Component Governance | |
| steps: | |
| - task: UseDotNet@2 | |
| inputs: | |
| packageType: 'sdk' | |
| version: '8.x' | |
| - task: DotNetCoreCLI@2 | |
| displayName: dotnet restore | |
| inputs: | |
| command: 'restore' | |
| projects: '**/*.csproj' | |
| feedsToUse: 'config' | |
| nugetConfigPath: 'nuget.config' |