Pipeline deployments with more than 100 commits would not update status in corresponding JIRA tickets

XMLWordPrintable

    • 24
    • Severity 3 - Minor
    • 811

      Issue Summary

      If user trigger a deployment in pipeline that contain more than 100 commits(say 200 commits), those Jira issues that only have its key show in 100-200 commits would not get pick up, and the status in the corresponding Jira issue won't be updated.

      Steps to Reproduce

      1. Create deployment environments in repository settings -> pipelines -> deployment
      2. Define a step that mark as deployment, like this:
        pipelines:
          branches:
            ddev:
              step:
                  name: Build and Test
                  deployment: test
                  script:
                    - echo test
      1. Create a feature branch that have 101 commits, and first commit point to a Jira issue, while the rest of the commits don't point to that issue.
      2. Merge the feature branch to ddev, and it will trigger the deployment step.

      Expected Results

      You should see a new item call "test" in the Releases attribute on the Jira issue sidebar

      Actual Results

      Nothing shows up in Releases attribute on the Jira Issue sidebar

      Workaround

      Unfortunately, we don't have a permanent workaround for it except that reduces the commits in the deployment. To do that, you can either break down the deployment into smaller pieces or you can utilise the `squash` function during PR merge, so it won't include that many commits in the deployment.

              Assignee:
              Cecille Maquito (Inactive)
              Reporter:
              lliang2 (Inactive)
              Votes:
              20 Vote for this issue
              Watchers:
              27 Start watching this issue

                Created:
                Updated:
                Resolved: