Add build batching for official builds (dotnet/corefx#35122)
authorSantiago Fernandez Madero <safern@microsoft.com>
Wed, 6 Feb 2019 00:43:28 +0000 (16:43 -0800)
committerGitHub <noreply@github.com>
Wed, 6 Feb 2019 00:43:28 +0000 (16:43 -0800)
Commit migrated from https://github.com/dotnet/corefx/commit/55d782a76e3021b7979b91198d78145d6399be54

eng/pipelines/libraries/.azure-ci.yml

index 6e9cd4c..195e86f 100644 (file)
@@ -1,6 +1,12 @@
-# Disable triggers for now. TODO: add right merge triggers.
+# Setting batch to true, triggers one build at a time.
+# if there is a push while a build in progress, it will wait,
+# until the running build finishes, and produce a build with all the changes
+# that happened during the last build.
 trigger:
-- master
+  batch: true
+  branches:
+    include:
+    - master
 
 # TODO: add paths to exclude CI when modifying docs or stuff not affecting the build
 pr: