From f7caf5f309ee6f73bea09a7de42a37904538be03 Mon Sep 17 00:00:00 2001 From: Jeff Storey Date: Sun, 27 Mar 2016 18:41:34 -0400 Subject: [PATCH] #470 initial pipeline support --- controller/build.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controller/build.go b/controller/build.go index bc457fc42..35e474423 100644 --- a/controller/build.go +++ b/controller/build.go @@ -236,6 +236,8 @@ func PostBuild(c *gin.Context) { build.Started = 0 build.Finished = 0 build.Enqueued = time.Now().UTC().Unix() + build.Event := c.DefaultQuery("event", build.Event)deploy_to + build.Deploy := c.DefaultQuery("deploy_to", build.Deploy) for _, job := range jobs { job.Status = model.StatusPending job.Started = 0