Skip to content
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

"security" is missing in jenkins.model.Jenkins #2228

Open
miro-balaz opened this issue Mar 13, 2023 · 0 comments
Open

"security" is missing in jenkins.model.Jenkins #2228

miro-balaz opened this issue Mar 13, 2023 · 0 comments
Labels

Comments

@miro-balaz
Copy link

Jenkins and plugins versions report

Environment
Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?

ubuntu

Reproduction steps

try to set

security:
    gitHostKeyVerificationConfiguration:
          sshHostKeyVerificationStrategy: "noHostKeyVerificationStrategy"

Expected Results

set the setting sshHostKeyVerificationStrategy to "noHostKeyVerificationStrategy"
because it can be set using jenkins gui and this worked before i switched to newest version.

Actual Results

script crashes with message:
io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration elements for type class jenkins.model.Jenkins : security.
Available attributes : agentProtocols, authorizationStrategy, clouds, crumbIssuer, disableRememberMe, disabledAdministrativeMonitors, globalNodeProperties, labelAtoms, labelString, log, markupFormatter, mode, myViewsTabBar, noUsageStatistics, nodeName, nodeProperties, nodes, numExecutors, primaryView, projectNamingStrategy, proxy, quietPeriod, remotingSecurity, scmCheckoutRetryCount, securityRealm, slaveAgentPort, systemMessage, updateCenter, views, viewsTabBar

Anything else?

I am using kubernets jenkins operator to run jcasc

@miro-balaz miro-balaz added the bug label Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant