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
The test connection button on Jenkins' configure page throws Client error: CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES #1605
Comments
I think the fix is switching from CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES to SNAKE_CASE: |
Thanks for reporting that @aah9 ! Would you like to submit the pull request to fix it? |
Same problem here - gitlab plugin is currently not working like this |
Thanks for confirming. Would you like to submit the pull request to fix it? You have an environment where you can test it more rapidly than I can configure a test environment. |
…WITH_UNDERSCORES by new SNAKE_CASE constant to work with newer Jersey plugin (jenkinsci#1605)
I filed a Pull request - let me know how I can easily test it - i have no clue how to do so (how would I get the fixed plugin on my jenkins ?) |
I've uploaded a zip file of the plugin build. Download it to your local computer, expand the zip file, then use the "Advanced" section of the Jenkins plugin manager page to upload the gitlab-plugin.hpi file. Restart your Jenkins controller and you should see the new SNAPSHOT version displayed in the plugin manager list of installed plugins. |
Needed for the Jackson 2.16.1-373.ve709c6871598 release that removes Jackson 2 API constants used by this plugin. jenkinsci#1605 notes that the CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES constant needs to be replaced with SNAKE_CASE. FasterXML/jackson-databind#4162 removed those deprecated aliases in FasterXML/jackson-databind@d7a1efc This change is preparation for a dependency on Jackson 2 API 2.16.1.
Needed for the Jackson 2.16.1-373.ve709c6871598 release that removes Jackson 2 API constants used by this plugin. #1605 notes that the CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES constant needs to be replaced with SNAKE_CASE. FasterXML/jackson-databind#4162 removed those deprecated aliases in FasterXML/jackson-databind@d7a1efc This change is preparation for a dependency on Jackson 2 API 2.16.1.
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Amazon Linux 2
Reproduction steps
Expected Results
Success message should display.
Actual Results
Error msg displays: Client error: CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES
Anything else?
Related to JENKINS-72478 Jackson2 API 2.16.1 removes Java PropertyNamingStrategy aliases
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered: