-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JENKINS-57583 Ignore merge commmit when comparing revisions
Other plugins assume that there are are only two revisions involved in PR revision identity. Since the mergeHash is generated based on the base and source hashes, it is not particularly interesting to use it and can cause bad behavior if we do. The only place where the mergeHash is interesting is when getting Jenkinsfile or doing readTrusted. It is an optimization that should have as few side effects as possible.
- Loading branch information
1 parent
de83966
commit 9977bd4
Showing
2 changed files
with
129 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters