Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 circleci 工作流程中按顺序运行两个作业。但是,无论第一个结果如何,我都希望第二个运行。现在在我看来,我只有两个选项,要么并行运行我不想要的,要么让它们串行运行,但如果第一个失败,其余的不执行。
你不能。
为什么不能并行运行?如果一份工作需要另一份工作,那就是顺序的。
我要么满足于现在的顺序,要么根据你的具体情况(我不知道),你可以做 3 份工作。一个分成两个平行的基本作业。