Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-43507] Legacy constructor needs to apply default discovery b…
…ehaviours - BlueOcean continually destroys and recreates the SCMNavigator without round-tripping through stapler form-binding consequently it does not pick up the legacy default discovery traits. - Also found a trait duplication bug in GitHubSCMSource that was missed due to a faulty test but caught when replicating the new legacy constructor tests from navigator into source 'just to be sure to be sure'
- Loading branch information
Showing with 158 additions and 5 deletions.
- +6 −1 src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java
- +0 −1 src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
- +76 −3 src/test/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigatorTraitsTest.java
- +76 −0 src/test/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSourceTraitsTest.java