Trigger SuperPMI collection pipeline if JIT-EE GUID changes (#44846)
authorBruce Forstall <brucefo@microsoft.com>
Wed, 18 Nov 2020 02:02:00 +0000 (18:02 -0800)
committerGitHub <noreply@github.com>
Wed, 18 Nov 2020 02:02:00 +0000 (18:02 -0800)
Changing the JIT-EE GUID invalidates previous SuperPMI collections,
necessitating a re-collection. As a proxy for determining whether
the JIT-EE GUID has changed, just trigger anytime the corinfo.h file
changes.

eng/pipelines/coreclr/superpmi.yml

index 3ae2645..6535309 100644 (file)
@@ -1,4 +1,17 @@
-trigger: none
+# This job definition automates the SuperPMI collection process.
+
+# Trigger this job if the JIT-EE GUID changes, which invalidates previous SuperPMI
+# collections. As a proxy for determining if the JIT-EE GUID has changed, we just
+# trigger if the file containing the GUID definition changes, which almost always
+# corresponds to the GUID itself changing.
+trigger:
+  batch: true
+  branches:
+    include:
+    - master
+  paths:
+    include:
+    - src/coreclr/src/inc/corinfo.h
 
 pr: none