Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75489

"Skip build trigger if commit message contains" does not work for Bitbucket

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major

      I'm attempting to configure a multi-branch pipeline to skip builds when the commit message contains the string [skip ci]. However, this functionality doesn't seem to be working as expected.

      When I enable the "Skip build trigger if commit message contains" option, none of the branches in the repository build—regardless of the actual commit message or the regular expression used. I tried various regex patterns, tested also with* "None of the strategies match"* and "All of the strategies match" options, but as soon as I enable the "Skip build trigger if commit message contains" setting, the project stops building all branches entirely.

      After some investigation, I found that this feature is provided by the bitbucket-scm-trait-commit-skip plugin, which hasn’t been updated in over six years. That said, I did notice that markewaite recently committed changes (about two weeks ago) to make the plugin compatible with Jenkins version 2.479.3.

      At this point, I'm unsure whether the behavior is due to the plugin’s outdated state or if it's simply a bug in the current version.

            witokondoria Javier Delgado
            ne7work Ivaylo
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: