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
2015-02-24 13:01:35 -05:00
committed by Dan Walsh
parent 1d27930faa
commit f8e77dfb3d
2 changed files with 4 additions and 0 deletions
+1
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)