-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[JENKINS-68933] Better WebSocket testing, removal of reflection #6780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8a14f9d
[JENKINS-68933] Verify basic WebSocket connectivity in `RealJenkinsRule`
jglick c670842
Removing use of reflection to access Jetty WebSocket types
jglick ce2b909
Merge branch 'master' of https://github.com/jenkinsci/jenkins into ws…
jglick b6f67d1
Removing `javax.servlet-api` from BOM
jglick 476a6fa
Tweaking packaging
jglick 944ad29
Checkstyle
basil d7438dc
SpotBugs
basil a14541b
Enforcer
basil b7bc5c4
Merge branch 'master' of https://github.com/jenkinsci/jenkins into ws…
jglick 01e59fc
Skip Javadoc on new modules
jglick db4d91f
Treat `ClosedChannelException` specially.
jglick e98f3cd
Do not bundle `javax.servlet-api`: https://github.com/jenkinsci/jenki…
jglick 9f57b6f
Merge branch 'master' of https://github.com/jenkinsci/jenkins into ws…
jglick ac6d1ef
Do not propagate `winstone` dep to `test`: https://github.com/jenkins…
jglick b779a45
Merge remote-tracking branch 'origin/master' into ws-JENKINS-68933
basil 76f965f
Update IntelliJ encodings
basil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,6 +51,8 @@ THE SOFTWARE. | |
|
|
||
| <modules> | ||
| <module>bom</module> | ||
| <module>websocket/spi</module> | ||
| <module>websocket/jetty9</module> | ||
| <module>core</module> | ||
| <module>war</module> | ||
| <module>test</module> | ||
|
|
@@ -94,7 +96,7 @@ THE SOFTWARE. | |
|
|
||
| <spotbugs.effort>Max</spotbugs.effort> | ||
| <spotbugs.threshold>Medium</spotbugs.threshold> | ||
| <spotbugs.excludeFilterFile>${project.basedir}/../src/spotbugs/spotbugs-excludes.xml</spotbugs.excludeFilterFile> | ||
| <spotbugs.excludeFilterFile>${maven.multiModuleProjectDirectory}/src/spotbugs/spotbugs-excludes.xml</spotbugs.excludeFilterFile> | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. TIL |
||
|
|
||
| <access-modifier.version>1.27</access-modifier.version> | ||
| <bridge-method-injector.version>1.23</bridge-method-injector.version> | ||
|
|
||
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this will cause that library to be managed for plugin POMs (like
credentialsorartifact-manager-s3) for the first time. Seems like a good thing; I am not sure why it was not already in the core BOM. But if this is a problem for any reason, it could trivially be reverted, and the version fixed in the new module.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I don't see a problem with including it in the core BOM. This PR does also start shipping
WEB-INF/lib/metainf-services-1.9.jar, which seems harmless, but I'm not entirely sure it's necessary either, since it seems to be more of a compile-time thing. No request for change or action item here, just noting the additional JAR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW there is an exclusion for this library elsewhere in the build: https://github.com/jenkinsci/jenkins/blob/644a261e78e9d80e2442787c8418cbdf283ac7e1/war/pom.xml#L92-L96=