-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YML能否配置构建失败的通知 #37
Comments
@LockheedQi 查看 condition isFinal 属性 |
是在YML中配置查看么...请问下有没有示例... |
@LockheedQi https://github.com/FlowCI/flow-platform/blob/4a557dd19940876bc440dac5979aae2e4995ed88/platform-api/src/test/resources/yml/for_job_service_final_node.yml isFinal 属性就是 不管前面step执行成功失败都运行isFinal的step可以在这里处理 |
isFinal: true 是不是意味着下面shell的执行条件是构建成功,但是整个step一定会执行.不好意思我还是不是很理解~ |
@LockheedQi 你的yml之前的step不要改东西,之后再加个final step把这个step标记为isFinal,之后之前的step跑成功还是失败都会执行最后的那个step,你的自定义操作放在这里就行 |
好的明白了,我再试试 |
如果构建失败是否可以做一些自定义的操作呢
The text was updated successfully, but these errors were encountered: