1
0
mirror of https://github.com/moby/moby.git synced 2025-07-30 18:23:29 +03:00

pass --change changes to the commit job

Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com> (github: dqminh)

Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com> (github: rhatdan)
This commit is contained in:
Daniel, Dao Quang Minh
2014-09-29 04:03:56 -04:00
committed by Dan Walsh
parent 1d27930faa
commit f8e77dfb3d
2 changed files with 4 additions and 0 deletions

View File

@ -518,6 +518,7 @@ func postCommit(eng *engine.Engine, version version.Version, w http.ResponseWrit
job.Setenv("tag", r.Form.Get("tag"))
job.Setenv("author", r.Form.Get("author"))
job.Setenv("comment", r.Form.Get("comment"))
job.Setenv("changes", r.Form.Get("changes"))
job.SetenvSubEnv("config", &config)
job.Stdout.Add(stdoutBuffer)