Code changed in jenkins
User: Bue Petersen
Path:
src/main/java/org/jenkinsci/plugins/pretestedintegration/scm/git/AccumulatedCommitStrategy.java
src/main/java/org/jenkinsci/plugins/pretestedintegration/scm/git/GetAllCommitsFromBranchCallback.java
src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/AccumulatedCommitMessageIT.java
src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/AccumulatedCommitStrategyIT.java
src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/TestUtilsFactory.java
http://jenkins-ci.org/commit/pretested-integration-plugin/605041754b52c3f26df0f2b5c2f50a3af31a7304
Log:
JENKINS-26568: New accumulated commit message:

The accumulated commit strategy is now using a commit message that is
almost identical to the squash commit message. It includes the commit
message of every included commit.

Implementation change details:

  • Fixed the callback method, by limiting JGit tree walk to only work on
    branch and ignore master. That is, master commits are not collected
    and the tree walk stops.
  • Minor helper method implemented in TestUtilsFactory that can count
    commits on a branch.
  • All tests are moved to its own class, and there are tests written for
    a series of common cases. Each test case verifies selected text
    strings are in the new commit message.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to