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

Run an jenkins stage with an merge commit message using jenkinsfile

    XMLWordPrintable

    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

          raks_94 rakesh kumar created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Component/s _unsorted [ 19622 ]
          Component/s jenkinsfile-runner [ 24123 ]
          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.    
          bitwiseman Liam Newman made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Closed [ 6 ]
          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 Unassigned
            Reporter:
            raks_94 rakesh kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: