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

Run an jenkins stage with an merge commit message using jenkinsfile

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Not A Defect
    • Component/s: _unsorted
    • Labels:
      None
    • Environment:
      qa
    • Similar Issues:

      Description

      Run an jenkins stage with an merge commit message using jenkinsfile

      currently I have built an jenkinsfile with all the stages enabled but i need to add an expression (suitably WHEN) into it which would trigger a particular stage when I merge my code in github with merge commit message RELEASE.

        Attachments

          Activity

          Hide
          bitwiseman Liam Newman added a comment -

          Sorry, this is a question not an issue or feature request. It should be taken one of the help channels. Please see https://www.jenkins.io/participate/help/ for options.  

           

          Show
          bitwiseman Liam Newman added a comment - Sorry, this is a question not an issue or feature request. It should be taken one of the help channels. Please see  https://www.jenkins.io/participate/help/  for options.    
          Hide
          bitwiseman Liam Newman added a comment -

          Ah, but while we're at it: 

          https://stackoverflow.com/a/56483499/1637252

           

          when {
              changelog '.*RELEASE.*'
          }
          
          

           

          Show
          bitwiseman Liam Newman added a comment - Ah, but while we're at it:  https://stackoverflow.com/a/56483499/1637252   when { changelog '.*RELEASE.*' }  

            People

            • Assignee:
              Unassigned
              Reporter:
              raks_94 rakesh kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: