mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-24 02:41:01 +00:00
#470 initial pipeline support
This commit is contained in:
parent
d3c1ba1254
commit
f7caf5f309
1 changed files with 2 additions and 0 deletions
|
@ -236,6 +236,8 @@ func PostBuild(c *gin.Context) {
|
||||||
build.Started = 0
|
build.Started = 0
|
||||||
build.Finished = 0
|
build.Finished = 0
|
||||||
build.Enqueued = time.Now().UTC().Unix()
|
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 {
|
for _, job := range jobs {
|
||||||
job.Status = model.StatusPending
|
job.Status = model.StatusPending
|
||||||
job.Started = 0
|
job.Started = 0
|
||||||
|
|
Loading…
Reference in a new issue