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

Ability to configure changelog message truncation and inclusion of merge commits

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin

      I have a need for the ability to:

      1. Include merge commits in the changelog
      2. Prevent truncation of commits in the changelog (see also JENKINS-29977 where someone else has the requirement)

      The reason for this is that I want to have the following workflow:

      • In JIRA create a new feature branch for an issue (the branch name automatically references the issue ID)
      • Add code to the branch
      • Create pull request for the branch
      • Merge the branch
      • Build on Jenkins
      • Jenkins parses the issue IDs from the feature branch names in the merge commit messages, and updates the issues (with the jira-plugin)

      The problem is that the Git plugins exclude merge commits, and truncate the commit messages before the issue ID features in them.

      I have forks that implement this feature, and I would like to know if it is worth tidying them up and writing the tests then submitting a PR, or whether my approach in general is not acceptable.
      https://github.com/sfhardman/git-plugin/commit/75c735351032626743cfca28fd8a0902ed7e0b3c
      https://github.com/sfhardman/git-client-plugin/commit/6de5518f27d735a3d9b02608cda1dd689c925b12

      Thanks

          [JENKINS-32320] Ability to configure changelog message truncation and inclusion of merge commits

          Simon Hardman created issue -
          Simon Hardman made changes -
          Description Original: I have a need for the ability to:
          # Include merge commits in the changelog
          # Prevent truncation of commits in the changelog (see also JENKINS-29977 where someone else has the requirement)
          The reason for this is that I want to have the following workflow:
          # In JIRA create a new feature branch for an issue (the branch name automatically references the issue ID)
          # Add code to the branch
          # Create pull request for the branch
          # Merge the branch
          # Build on Jenkins
          # Jenkins parses the issue IDs from the feature branch names in the merge commit messages, and updates the issues
          The problem is that the Git plugins exclude merge commits, and truncate the commit messages before the issue ID features in them.
          I have forks that implement this feature, and I would like to know if it is worth tidying them up and writing the tests then submitting a PR, or whether my approach in general is not acceptable.
          https://github.com/sfhardman/git-plugin/commit/75c735351032626743cfca28fd8a0902ed7e0b3c
          https://github.com/sfhardman/git-client-plugin/commit/6de5518f27d735a3d9b02608cda1dd689c925b12

          Thanks
          New: I have a need for the ability to:
          # Include merge commits in the changelog
          # Prevent truncation of commits in the changelog (see also JENKINS-29977 where someone else has the requirement)
          The reason for this is that I want to have the following workflow:
          * In JIRA create a new feature branch for an issue (the branch name automatically references the issue ID)
          * Add code to the branch
          * Create pull request for the branch
          * Merge the branch
          * Build on Jenkins
          * Jenkins parses the issue IDs from the feature branch names in the merge commit messages, and updates the issues
          The problem is that the Git plugins exclude merge commits, and truncate the commit messages before the issue ID features in them.
          I have forks that implement this feature, and I would like to know if it is worth tidying them up and writing the tests then submitting a PR, or whether my approach in general is not acceptable.
          [https://github.com/sfhardman/git-plugin/commit/75c735351032626743cfca28fd8a0902ed7e0b3c]
          [https://github.com/sfhardman/git-client-plugin/commit/6de5518f27d735a3d9b02608cda1dd689c925b12]

          Thanks
          Simon Hardman made changes -
          Description Original: I have a need for the ability to:
          # Include merge commits in the changelog
          # Prevent truncation of commits in the changelog (see also JENKINS-29977 where someone else has the requirement)
          The reason for this is that I want to have the following workflow:
          * In JIRA create a new feature branch for an issue (the branch name automatically references the issue ID)
          * Add code to the branch
          * Create pull request for the branch
          * Merge the branch
          * Build on Jenkins
          * Jenkins parses the issue IDs from the feature branch names in the merge commit messages, and updates the issues
          The problem is that the Git plugins exclude merge commits, and truncate the commit messages before the issue ID features in them.
          I have forks that implement this feature, and I would like to know if it is worth tidying them up and writing the tests then submitting a PR, or whether my approach in general is not acceptable.
          [https://github.com/sfhardman/git-plugin/commit/75c735351032626743cfca28fd8a0902ed7e0b3c]
          [https://github.com/sfhardman/git-client-plugin/commit/6de5518f27d735a3d9b02608cda1dd689c925b12]

          Thanks
          New: I have a need for the ability to:
          # Include merge commits in the changelog
          # Prevent truncation of commits in the changelog (see also JENKINS-29977 where someone else has the requirement)

          The reason for this is that I want to have the following workflow:
          * In JIRA create a new feature branch for an issue (the branch name automatically references the issue ID)
          * Add code to the branch
          * Create pull request for the branch
          * Merge the branch
          * Build on Jenkins
          * Jenkins parses the issue IDs from the feature branch names in the merge commit messages, and updates the issues
          The problem is that the Git plugins exclude merge commits, and truncate the commit messages before the issue ID features in them.

          I have forks that implement this feature, and I would like to know if it is worth tidying them up and writing the tests then submitting a PR, or whether my approach in general is not acceptable.
          [https://github.com/sfhardman/git-plugin/commit/75c735351032626743cfca28fd8a0902ed7e0b3c]
          [https://github.com/sfhardman/git-client-plugin/commit/6de5518f27d735a3d9b02608cda1dd689c925b12]

          Thanks
          Simon Hardman made changes -
          Description Original: I have a need for the ability to:
          # Include merge commits in the changelog
          # Prevent truncation of commits in the changelog (see also JENKINS-29977 where someone else has the requirement)

          The reason for this is that I want to have the following workflow:
          * In JIRA create a new feature branch for an issue (the branch name automatically references the issue ID)
          * Add code to the branch
          * Create pull request for the branch
          * Merge the branch
          * Build on Jenkins
          * Jenkins parses the issue IDs from the feature branch names in the merge commit messages, and updates the issues
          The problem is that the Git plugins exclude merge commits, and truncate the commit messages before the issue ID features in them.

          I have forks that implement this feature, and I would like to know if it is worth tidying them up and writing the tests then submitting a PR, or whether my approach in general is not acceptable.
          [https://github.com/sfhardman/git-plugin/commit/75c735351032626743cfca28fd8a0902ed7e0b3c]
          [https://github.com/sfhardman/git-client-plugin/commit/6de5518f27d735a3d9b02608cda1dd689c925b12]

          Thanks
          New: I have a need for the ability to:
          # Include merge commits in the changelog
          # Prevent truncation of commits in the changelog (see also JENKINS-29977 where someone else has the requirement)

          The reason for this is that I want to have the following workflow:
          * In JIRA create a new feature branch for an issue (the branch name automatically references the issue ID)
          * Add code to the branch
          * Create pull request for the branch
          * Merge the branch
          * Build on Jenkins
          * Jenkins parses the issue IDs from the feature branch names in the merge commit messages, and updates the issues
          The problem is that the Git plugins exclude merge commits, and truncates the commit messages before the issue ID features in them.

          I have forks that implement this feature, and I would like to know if it is worth tidying them up and writing the tests then submitting a PR, or whether my approach in general is not acceptable.
          [https://github.com/sfhardman/git-plugin/commit/75c735351032626743cfca28fd8a0902ed7e0b3c]
          [https://github.com/sfhardman/git-client-plugin/commit/6de5518f27d735a3d9b02608cda1dd689c925b12]

          Thanks
          Simon Hardman made changes -
          Description Original: I have a need for the ability to:
          # Include merge commits in the changelog
          # Prevent truncation of commits in the changelog (see also JENKINS-29977 where someone else has the requirement)

          The reason for this is that I want to have the following workflow:
          * In JIRA create a new feature branch for an issue (the branch name automatically references the issue ID)
          * Add code to the branch
          * Create pull request for the branch
          * Merge the branch
          * Build on Jenkins
          * Jenkins parses the issue IDs from the feature branch names in the merge commit messages, and updates the issues
          The problem is that the Git plugins exclude merge commits, and truncates the commit messages before the issue ID features in them.

          I have forks that implement this feature, and I would like to know if it is worth tidying them up and writing the tests then submitting a PR, or whether my approach in general is not acceptable.
          [https://github.com/sfhardman/git-plugin/commit/75c735351032626743cfca28fd8a0902ed7e0b3c]
          [https://github.com/sfhardman/git-client-plugin/commit/6de5518f27d735a3d9b02608cda1dd689c925b12]

          Thanks
          New: I have a need for the ability to:
          # Include merge commits in the changelog
          # Prevent truncation of commits in the changelog (see also JENKINS-29977 where someone else has the requirement)

          The reason for this is that I want to have the following workflow:
          * In JIRA create a new feature branch for an issue (the branch name automatically references the issue ID)
          * Add code to the branch
          * Create pull request for the branch
          * Merge the branch
          * Build on Jenkins
          * Jenkins parses the issue IDs from the feature branch names in the merge commit messages, and updates the issues
          *
          The problem is that the Git plugins exclude merge commits, and truncate the commit messages before the issue ID features in them.

          I have forks that implement this feature, and I would like to know if it is worth tidying them up and writing the tests then submitting a PR, or whether my approach in general is not acceptable.
          [https://github.com/sfhardman/git-plugin/commit/75c735351032626743cfca28fd8a0902ed7e0b3c]
          [https://github.com/sfhardman/git-client-plugin/commit/6de5518f27d735a3d9b02608cda1dd689c925b12]

          Thanks
          Simon Hardman made changes -
          Description Original: I have a need for the ability to:
          # Include merge commits in the changelog
          # Prevent truncation of commits in the changelog (see also JENKINS-29977 where someone else has the requirement)

          The reason for this is that I want to have the following workflow:
          * In JIRA create a new feature branch for an issue (the branch name automatically references the issue ID)
          * Add code to the branch
          * Create pull request for the branch
          * Merge the branch
          * Build on Jenkins
          * Jenkins parses the issue IDs from the feature branch names in the merge commit messages, and updates the issues
          *
          The problem is that the Git plugins exclude merge commits, and truncate the commit messages before the issue ID features in them.

          I have forks that implement this feature, and I would like to know if it is worth tidying them up and writing the tests then submitting a PR, or whether my approach in general is not acceptable.
          [https://github.com/sfhardman/git-plugin/commit/75c735351032626743cfca28fd8a0902ed7e0b3c]
          [https://github.com/sfhardman/git-client-plugin/commit/6de5518f27d735a3d9b02608cda1dd689c925b12]

          Thanks
          New: I have a need for the ability to:
          # Include merge commits in the changelog
          # Prevent truncation of commits in the changelog (see also JENKINS-29977 where someone else has the requirement)

          The reason for this is that I want to have the following workflow:
          * In JIRA create a new feature branch for an issue (the branch name automatically references the issue ID)
          * Add code to the branch
          * Create pull request for the branch
          * Merge the branch
          * Build on Jenkins
          * Jenkins parses the issue IDs from the feature branch names in the merge commit messages, and updates the issues (with the jira-plugin)

          The problem is that the Git plugins exclude merge commits, and truncate the commit messages before the issue ID features in them.

          I have forks that implement this feature, and I would like to know if it is worth tidying them up and writing the tests then submitting a PR, or whether my approach in general is not acceptable.
          [https://github.com/sfhardman/git-plugin/commit/75c735351032626743cfca28fd8a0902ed7e0b3c]
          [https://github.com/sfhardman/git-client-plugin/commit/6de5518f27d735a3d9b02608cda1dd689c925b12]

          Thanks
          Mark Waite made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ] New: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 167926 ] New: JNJira + In-Review [ 182898 ]
          Mark Waite made changes -
          Component/s Original: git-client-plugin [ 17423 ]

            Unassigned Unassigned
            sfhardma Simon Hardman
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: