上传ConcourseCI管道时出现yaml unmarshal错误

时间:2017-08-28 11:40:04

标签: concourse

我尝试使用

将ConcourseCI管道上传到我的Concourse服务器
fly -t <my_target> sp -p my_pip -c pipeline.yml -l creds.yml

但上传终止时会显示以下错误消息:

fly -t local-docker sp -p siemens -c build/paas_ci_cd.yml -l config/credentials.yml
error: yaml: unmarshal errors:
  line 44: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 90: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 136: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 182: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 228: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 274: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 320: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 366: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 412: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 458: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 504: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 550: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 571: cannot unmarshal !!str `go-buil...` into []string
  line 597: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 643: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 689: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 735: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 781: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 827: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 873: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 919: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 965: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig
  line 1008: cannot unmarshal !!str `bosh up...` into atc.TaskRunConfig
  line 1032: cannot unmarshal !!str `bash he...` into atc.TaskRunConfig

我已将pipeline.yml粘贴到yaml验证器中,没有任何错误投诉。管道是使用erb模板生成的。产生错误消息的行现在显示缩进问题或缺少变量。

0 个答案:

没有答案