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.
当您使用 Jenkins 多分支管道时,第一阶段默认命名为Declarative: Checkout SCM.
Declarative: Checkout SCM
是否可以重命名?我知道可以跳过默认结帐,但我不想要这个 - 我只想重命名这个默认步骤。
由于没有人发布更好的解决方案,我只是这样做了:
... options { skipDefaultCheckout(true) } stages { stage('However I want to name a stage') { steps { checkout scm ...