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

Merge commits are skipped if any of the merged commits contain the skip pattern

      We currently use a declarative pipeline with scm-skip like this:

      stages{
      	stage ('Prepare'){
      		steps{
      			scmSkip(deleteBuild: false, skipPattern:'.*\\[ci skip\\].*')
      		}
      	}
      }
      

      The Problem is that merge commits are often skipped, because one of the merged commits contains the skip pattern.

      Merge commits should only be skipped if the message of the merge commit directly contains the skip pattern.

       

          [JENKINS-63918] Merge commits are skipped if any of the merged commits contain the skip pattern

          Axel Müller added a comment -

          I made a fix for this bug and provide a fixed plugin for download: https://github.com/jenkinsci/scmskip-plugin/pull/9

          Axel Müller added a comment - I made a fix for this bug and provide a fixed plugin for download: https://github.com/jenkinsci/scmskip-plugin/pull/9

            Unassigned Unassigned
            csrichter Clemens Richter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: