bitbucket-pipelines.yml 中的错误 [pipelines >步骤>健康)状况]。准确地说:至少需要一个条件
我创建了一个如下所示的 bitbucket 管道:
pipelines:
custom:
dbt-run:
- step:
name: 'Validate'
script:
- cd dbt_4flow
- dbt compile
condition:
changesets:
includePaths:
- "dbt_4flow/*"
但是,当我尝试通过 UI 运行它时,即使我已经给出了条件,我也会收到此错误。我做错了什么?是语法吗?
There is an error in your bitbucket-pipelines.yml at [pipelines > custom > dbt-run > 0 > step > condition]. To be precise: At least one condition is required
I created a bitbucket pipelines that looks like this:
pipelines:
custom:
dbt-run:
- step:
name: 'Validate'
script:
- cd dbt_4flow
- dbt compile
condition:
changesets:
includePaths:
- "dbt_4flow/*"
However, when I try to run it via the UI, I get this error even though I have already given a condition. What am I doing wrong? Is it the syntax?
There is an error in your bitbucket-pipelines.yml at [pipelines > custom > dbt-run > 0 > step > condition]. To be precise: At least one condition is required
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能是缩进问题。以下缩进应该有效。
It might be an indentation issue. The following indentation should work.