Release jobs use Gerrit Trigger choosing strategy 70/62970/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Tue, 28 Jan 2020 15:03:14 +0000 (10:03 -0500)
committerLott, Christopher (cl778h) <cl778h@att.com>
Tue, 28 Jan 2020 15:03:14 +0000 (10:03 -0500)
Use choosing strategy Gerrit Trigger in container/jar and
package cloud release merge jobs. This retains the current
behavior in the simple merge case, and ensures that a job
triggered by a "remerge" comment uses the release file at
that commit.  The previous choosing strategy, default, uses
the tip of the target branch.  That does not allow recovery
from merge job failure if the target branch has advanced past
the commit with the release file.

Change-Id: I6685e54da9f1510243f52506794cf52a28b9eb61
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
jjb/lf-release-jobs.yaml
releasenotes/notes/release-merge-gerrit-choosing-strategy-8d9b631b8fec525a.yaml [new file with mode: 0644]

index f53a2d9..b95ffe8 100644 (file)
           submodule-disable: true
           submodule-recursive: false
           submodule-timeout: 10
-          choosing-strategy: default
+          choosing-strategy: gerrit
 
     triggers:
       - gerrit:
           submodule-disable: true
           submodule-recursive: false
           submodule-timeout: 10
-          choosing-strategy: default
+          choosing-strategy: gerrit
 
     triggers:
       - gerrit:
diff --git a/releasenotes/notes/release-merge-gerrit-choosing-strategy-8d9b631b8fec525a.yaml b/releasenotes/notes/release-merge-gerrit-choosing-strategy-8d9b631b8fec525a.yaml
new file mode 100644 (file)
index 0000000..af5a823
--- /dev/null
@@ -0,0 +1,11 @@
+---
+fixes:
+  - |
+    Use choosing strategy Gerrit Trigger in container/jar and
+    package cloud release merge jobs. This retains the current
+    behavior in the simple merge case, and ensures that a job
+    triggered by a "remerge" comment uses the release file at
+    that commit.  The previous choosing strategy, default, uses
+    the tip of the target branch.  That does not allow recovery
+    from merge job failure if the target branch has advanced past
+    the commit with the release file.