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

Snippet Generator produces incorrect output for "Merge strategy" of "Merge before build" for GIT

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • pipeline
    • None
    • Jenkins 2.16, Git 2.53, Pipeline SCM Step 2.2

      When adding the additional behavior of "Merge before build", the "Merge strategy" is generated like this:
      {{ mergeStrategy: <object of type org.jenkinsci.plugins.gitclient.MergeCommand.Strategy>}}

      This is related to JENKINS-26753 (dup), JENKINS-26619, but that one is resolved and the problem is happening.

          [JENKINS-37224] Snippet Generator produces incorrect output for "Merge strategy" of "Merge before build" for GIT

          Daniel Sobral created issue -
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]

          chin ho added a comment -

          I'm having the same issue. Is there a fix or known workaround for this?

          chin ho added a comment - I'm having the same issue. Is there a fix or known workaround for this?
          Sam Van Oort made changes -
          Issue Type Original: Improvement [ 4 ] New: Bug [ 1 ]
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-34070 [ JENKINS-34070 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            jglick Jesse Glick
            dcsobral Daniel Sobral
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: