Executing code when a branch is removed in Jenkins' multi branch pipeline

后端 未结 2 1243
闹比i
闹比i 2021-02-05 21:31

I have a Jenkins that uses multi branch project. That is, when a new branch is created to repository, Jenkins automatically will automatically create a new job for the branch, a

2条回答
  •  无人共我
    2021-02-05 22:36

    Not without writing plugin code I think. If you are interested, the relevant extension point would be OrphanedItemStrategy from the cloudbees-folder plugin.

提交回复
热议问题