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

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

XMLWordPrintable

      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.

       

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

              Created:
              Updated:
              Resolved: