mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 12:21:03 +00:00
Merge pull request #1732 from bradrydzewski/master
display error when commands for plugin
This commit is contained in:
commit
7d13aa0364
1 changed files with 3 additions and 1 deletions
|
@ -157,7 +157,9 @@ func (a *Agent) prep(w *queue.Work) (*yaml.Config, error) {
|
||||||
transform.ImageTag(conf)
|
transform.ImageTag(conf)
|
||||||
transform.ImageName(conf)
|
transform.ImageName(conf)
|
||||||
transform.ImageNamespace(conf, a.Namespace)
|
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)
|
transform.PluginParams(conf)
|
||||||
|
|
||||||
if a.Local != "" {
|
if a.Local != "" {
|
||||||
|
|
Loading…
Reference in a new issue