-
Notifications
You must be signed in to change notification settings - Fork 9
47 lines (47 loc) · 1.14 KB
/
azure-devops-pipelines-cg.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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'