Branch: refs/heads/master
Home: https://github.com/jenkinsci/github-branch-source-plugin
Commit: 5125eb8241d358e7165cccc1f440bf186c274969
https://github.com/jenkinsci/github-branch-source-plugin/commit/5125eb8241d358e7165cccc1f440bf186c274969
Author: Liam Newman <[email protected]>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
M
src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestSCMRevision.java
M
src/test/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMFileSystemTest.java
M
src/test/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSourceTest.java
R src/test/resources/api/__files/body-heads-master-lJ0Av.json
A src/test/resources/api/__files/body-heads-master-notfound.json
A src/test/resources/api/__files/body-heads-master.json
A src/test/resources/api/__files/body-users-notauser.json
A src/test/resources/api/__files/body-yolo-pulls-2-bad-user.json
A src/test/resources/api/__files/body-yolo-pulls-bad-user.json
R src/test/resources/api/mappings/mapping-heads-master-lJ0Av.json
A src/test/resources/api/mappings/mapping-heads-master.json
A src/test/resources/api/mappings/mapping-users-notauser.json
R src/test/resources/api/mappings/mapping-yolo-pulls-2.json
Log Message:
-----------
JENKINS-56996 - PRs where parts are not found are orphaned
Bad PRs can happen a number of ways when constituent parts of
the PR were missing, source fork, user, target branch, etc.
The generally mean the PR is permanenently dead.
However, before this change one bad PR would throw an exception
and crash an entire scan. In the case of GitHub Org Folder Pipelines
this would happen all too easily and would stop the whole org from scanning.
This change treats the FileNotFound exceptions thrown by these bad PRs
as errors local to the PR, treats them as orphaned, and continues the scan.
This change only effects PRs, not tags or branches, which are
less prone to errors (or are already doing a similiar thing).
Commit: 25d228ccc7b3dfcfa7681414033f12f9426d8844
https://github.com/jenkinsci/github-branch-source-plugin/commit/25d228ccc7b3dfcfa7681414033f12f9426d8844
Author: Liam Newman <[email protected]>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M
src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestSCMRevision.java
Log Message:
-----------
Fix message wording
Commit: 760e4e1287448494576f86757cddeb049a1094cf
https://github.com/jenkinsci/github-branch-source-plugin/commit/760e4e1287448494576f86757cddeb049a1094cf
Author: Liam Newman <[email protected]>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
M
src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestSCMRevision.java
M
src/test/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMFileSystemTest.java
M
src/test/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSourceTest.java
R src/test/resources/api/__files/body-heads-master-lJ0Av.json
A src/test/resources/api/__files/body-heads-master-notfound.json
A src/test/resources/api/__files/body-heads-master.json
A src/test/resources/api/__files/body-users-notauser.json
A src/test/resources/api/__files/body-yolo-pulls-2-bad-user.json
A src/test/resources/api/__files/body-yolo-pulls-bad-user.json
R src/test/resources/api/mappings/mapping-heads-master-lJ0Av.json
A src/test/resources/api/mappings/mapping-heads-master.json
A src/test/resources/api/mappings/mapping-users-notauser.json
R src/test/resources/api/mappings/mapping-yolo-pulls-2.json
Log Message:
-----------
Merge pull request #224 from bitwiseman/brittle-scan
JENKINS-56996 - PRs where parts are not found are orphaned
Compare:
https://github.com/jenkinsci/github-branch-source-plugin/compare/d6bc799dc6f5...760e4e128744
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/github-branch-source-plugin/push/refs/heads/master/d6bc79-760e4e%40github.com.
For more options, visit https://groups.google.com/d/optout.