#470 initial pipeline support

This commit is contained in:
Jeff Storey 2016-03-27 18:41:34 -04:00
parent d3c1ba1254
commit f7caf5f309

View file

@ -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