1111# - Microsoft.Data.SqlClient
1212# - Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider
1313#
14- # It runs via CI push triggers and schedules:
14+ # It runs via CI push triggers and schedules and uses the Release build
15+ # configuration:
1516#
1617# - Commits to GitHub main
1718# - Commits to ADO internal/main
1819# - Weekdays at 01:00 UTC on GitHub main
19- # - Thursdays at 03 :00 UTC on ADO internal/main
20+ # - Thursdays at 05 :00 UTC on ADO internal/main
2021#
2122# GOTCHA: This pipeline definition is triggered by GitHub _and_ ADO CI. We are
2223# able to define different triggers and schedules using branch filters:
@@ -45,7 +46,8 @@ name: $(DayOfYear)$(Rev:rr)
4546# Trigger this pipeline on commits to certain branches.
4647trigger :
4748
48- # Don't trigger a new run until the previous one completes.
49+ # Don't trigger a new run until the previous one completes. This may cause
50+ # multiple commits to be batched into a single run.
4951 batch : true
5052
5153 branches :
@@ -60,8 +62,9 @@ trigger:
6062 include :
6163 - .azuredevops
6264 - .config
63- - src
65+ - doc
6466 - eng
67+ - src
6568 - tools
6669 - azurepipelines-coverage.yml
6770 - build.proj
@@ -72,15 +75,15 @@ schedules:
7275
7376 # GitHub main on weekdays
7477 - cron : ' 0 1 * * Mon-Fri'
75- displayName : Weekday Release Build
78+ displayName : Weekday Run ( Release Config)
7679 branches :
7780 include :
7881 - main
7982 always : true
8083
8184 # ADO internal/main on Thursdays.
82- - cron : ' 0 3 * * Thu'
83- displayName : Thursday Release Build
85+ - cron : ' 0 5 * * Thu'
86+ displayName : Thursday Run ( Release Config)
8487 branches :
8588 include :
8689 - internal/main
@@ -151,7 +154,7 @@ extends:
151154 parameters :
152155 buildConfiguration : ${{ parameters.buildConfiguration }}
153156 buildPlatforms : ${{ parameters.buildPlatforms }}
154- buildType : Package
157+ buildType : Project
155158 codeCovTargetFrameworks : ${{ parameters.codeCovTargetFrameworks }}
156159 debug : ${{ parameters.debug }}
157160 enableStressTests : ${{ parameters.enableStressTests }}
@@ -162,10 +165,10 @@ extends:
162165 # specified. We choose different values depending on the build
163166 # configuration.
164167 ${{ if eq(parameters.testJobTimeout, 'Default') }} :
165- # If the build configuration is Debug, double the test job timeout value.
166- # Some of our tests currently take much longer to run in Debug mode .
168+ # If the build configuration is Debug, we allow a bit of extra time since
169+ # some tests run more slowly, and some tests are Debug only .
167170 ${{ if eq(parameters.buildConfiguration, 'Debug') }} :
168- testJobTimeout : 180
171+ testJobTimeout : 110
169172 ${{ else }} :
170173 testJobTimeout : 90
171174 ${{ else }} :
0 commit comments