Unable to set useAuthenticatedEndpoint from GitLab plugin
See original GitHub issueSetting useAuthenticatedEndpoint
in GitLabConnectionConfig from GitLab plugin fails with:
io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration elements for type
classcom.dabsquared.gitlabjenkins.connection.GitLabConnectionConfig : useAuthenticatedEndpoint.
Available attributes : connections
The configuration I use:
unclassified:
...
gitlabconnectionconfig:
useAuthenticatedEndpoint: false
In addition, that field is not visible in the …/configuration-as-code/reference. This file hasn’t been changed since 2017. I wonder if the problem can be related to “Boolean” instead of “boolean” in that class?
- Jenkins version - 2.121.3
- Plugin version - 1.3
- OS - Linux
- GitLab plugin version - 1.5.10
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
jenkinsci/configuration-as-code-plugin - Gitter
I would like to configure "useAuthenticatedEndpoint" from GitLabConnectionConfig (https://github.com/jenkinsci/gitlab-plugin/blob/master/src/main/java/com ...
Read more >Add JCasC support for useAuthenticatedEndpoint in gitlab ...
Using useAuthenticatedEndpoint in a CasC-config results in. io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration elements ...
Read more >GitLab Jenkins Integration
GitLab's Jenkins integration allows effortlessly set up of your project to build ... and GitLab will output the pipeline status (success or failed)...
Read more >Failed to update Gitlab commit status for project HTTP 400 ...
Commit status create (API): Can no longer use links under NAT with ... See if comments of jenkinsci/gitlab-plugin issue 522 could help:.
Read more >Using Jenkins with GitLab - YouTube
Options for Jenkins CI integration with GitLab. ... Your browser can't play this video. Learn more. Switch camera. Share. Include playlist.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, I was thinking about that, but the plugin is already supported by casc and only that field is not visible/accessible. It’s perfectly fine to set it via UI. There are a setter and a getter. Therefore, I would like to here what’s wrong with that class/field to be able to fix it on the GitLab plugin side or to find out there is some limitation in the casc plugin (e.g. with
Boolean
fields) to fix it here.I might debug it on my own, but I asked first to get know about any obvious reasons.
Closing issue as work is ongoing in the rightful place.