@@ -8,6 +8,12 @@ schedules:
8
8
include :
9
9
- main
10
10
always : true
11
+ - cron : " 0 18 * * *"
12
+ branches :
13
+ include :
14
+ - main
15
+ always : true
16
+ displayName : IdentityModel test job
11
17
- cron : " 0 9 * * *"
12
18
branches :
13
19
include :
@@ -19,6 +25,8 @@ schedules:
19
25
variables :
20
26
- name : _UseHelixOpenQueues
21
27
value : ${{ ne(variables['System.TeamProject'], 'internal') }}
28
+ - name : _IsIdentityModelTestJob
29
+ value : ${{ eq(variables['Build.CronSchedule.DisplayName'], 'IdentityModel test job') }}
22
30
- ${{ if eq(variables['System.TeamProject'], 'internal') }} :
23
31
- group : DotNet-HelixApi-Access
24
32
- template : /eng/common/templates/variables/pool-providers.yml
@@ -31,14 +39,17 @@ jobs:
31
39
agentOs : Windows
32
40
timeoutInMinutes : 300
33
41
steps :
42
+ - ${{ if eq(variables['Build.CronSchedule.DisplayName'], 'IdentityModel test job') }} :
43
+ - script : " echo ##vso[build.addbuildtag]identitymodel-test"
44
+ displayName : ' Set CI identitymodel-test tag'
34
45
# Build the shared framework
35
46
- script : ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -pack -arch x64
36
- /p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
47
+ /p:CrossgenOutput=false /p:IsIdentityModelTestJob=$(_IsIdentityModelTestJob) /p: ASPNETCORE_TEST_LOG_DIR=artifacts/log
37
48
displayName : Build shared fx
38
49
# -noBuildRepoTasks -noBuildNative -noBuild to avoid repeating work done in the previous step.
39
50
- script : .\eng\build.cmd -ci -prepareMachine -nobl -all -noBuildRepoTasks -noBuildNative -noBuild -test
40
51
-projects eng\helix\helix.proj /p:IsHelixJob=true
41
- /p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
52
+ /p:CrossgenOutput=false /p:IsIdentityModelTestJob=$(_IsIdentityModelTestJob) /p: ASPNETCORE_TEST_LOG_DIR=artifacts/log
42
53
displayName : Run build.cmd helix target
43
54
env :
44
55
HelixApiAccessToken : $(HelixApiAccessToken) # Needed for internal queues
0 commit comments