Duplicate builds triggered on Jenkins multibranch pipeline

后端 未结 5 1828
生来不讨喜
生来不讨喜 2021-02-14 07:18

We are seeing duplicate builds triggered on Jenkins multibranch pipeline projects. Builds are normally triggered using push notifications from Bitbucket using this plugin: http

5条回答
  •  爱一瞬间的悲伤
    2021-02-14 07:54

    You can add property "Supress Automatic SCM Trigger" to job configuration:

    Supress Automatic SCM Trigger Property

    This will prevent builds to execute due to "Branch Indexing".

    The downside is that you may need to manually trigger the branch specific build at least once to get the configuration applied from Jenkinsfile.

提交回复
热议问题