Merge pull request #1732 from bradrydzewski/master

display error when commands for plugin
This commit is contained in:
Brad Rydzewski 2016-07-27 10:24:14 -07:00 committed by GitHub
commit 7d13aa0364

View file

@ -157,7 +157,9 @@ func (a *Agent) prep(w *queue.Work) (*yaml.Config, error) {
transform.ImageTag(conf)
transform.ImageName(conf)
transform.ImageNamespace(conf, a.Namespace)
transform.ImageEscalate(conf, a.Escalate)
if err := transform.ImageEscalate(conf, a.Escalate); err != nil {
return nil, err
}
transform.PluginParams(conf)
if a.Local != "" {