File tree Expand file tree Collapse file tree 2 files changed +29
-21
lines changed Expand file tree Collapse file tree 2 files changed +29
-21
lines changed Original file line number Diff line number Diff line change 1
1
name : PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr)
2
+
2
3
trigger :
3
- # Batch merge builds together while a merge build is running
4
- batch : true
5
4
branches :
6
5
include :
7
6
- master
8
- - legacy/1.x
9
7
10
8
pr :
11
- branches :
12
- include :
13
- - master
14
- - legacy/1.x
9
+ - master
15
10
16
11
resources :
17
- - repo : self
18
- clean : true
12
+ repositories :
13
+ - repository : ComplianceRepo
14
+ type : github
15
+ endpoint : GitHub
16
+ name : PowerShell/compliance
19
17
20
18
jobs :
21
- - template : templates/credscan.yml
19
+ - job : Compliance
20
+ pool :
21
+ vmImage : windows-latest
22
+ steps :
23
+ - checkout : self
24
+ - checkout : ComplianceRepo
25
+ - template : ci-compliance.yml@ComplianceRepo
26
+ # NOTE: This enables our project to work with Visual Studio's Rich Navigation:
27
+ # https://visualstudio.microsoft.com/services/rich-code-navigation/
28
+ - job : RichCodeNav
29
+ pool :
30
+ vmImage : windows-latest
31
+ steps :
32
+ # TODO: Move to GitHub Action
33
+ - task : RichCodeNavIndexer@0
34
+ continueOnError : true
35
+ inputs :
36
+ serviceConnection : rich-nav
37
+ nugetServiceConnection : rich-nav-nuget
38
+ githubServiceConnection : PowerShell
39
+ languages : typescript,csharp
40
+ serviceEndpoint : https://prod.richnav.vsengsaas.visualstudio.com
Original file line number Diff line number Diff line change @@ -28,14 +28,3 @@ steps:
28
28
ArtifactName : vscode-powershell
29
29
PathtoPublish : ' $(Build.ArtifactStagingDirectory)/vscode-powershell'
30
30
31
- # Rich Navigation
32
- - task : RichCodeNavIndexer@0
33
- # Note, for now, this is Windows only.
34
- condition : and(succeededOrFailed(), eq(variables['Agent.OS'], 'Windows_NT'))
35
- continueOnError : true
36
- inputs :
37
- serviceConnection : ' rich-nav'
38
- nugetServiceConnection : ' rich-nav-nuget'
39
- githubServiceConnection : ' PowerShell'
40
- languages : ' typescript,csharp'
41
- serviceEndpoint : ' https://prod.richnav.vsengsaas.visualstudio.com'
You can’t perform that action at this time.
0 commit comments