From 408c86e11b5860214ff6dd6bab4a0d617f5c9a29 Mon Sep 17 00:00:00 2001 From: Mark Vulfson Date: Wed, 11 Dec 2019 09:07:18 -0800 Subject: [PATCH] fix(mpt): include templateVariables in pipeline model (#725) follow up from https://github.com/spinnaker/orca/pull/3335 plumb through the `templateVariables` for triggering to work on mptv2 pipelines that use spel v4 --- .../main/java/com/netflix/spinnaker/echo/model/Pipeline.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/echo-model/src/main/java/com/netflix/spinnaker/echo/model/Pipeline.java b/echo-model/src/main/java/com/netflix/spinnaker/echo/model/Pipeline.java index 9427bf473..0ccf3defc 100644 --- a/echo-model/src/main/java/com/netflix/spinnaker/echo/model/Pipeline.java +++ b/echo-model/src/main/java/com/netflix/spinnaker/echo/model/Pipeline.java @@ -71,6 +71,8 @@ public class Pipeline { @JsonProperty Object template; + @JsonProperty Map templateVariables; + @JsonProperty List> stages; @JsonProperty List> notifications;