Skip to content

[JENKINS-62097] GitHubPluginConfig.hookSecretConfig → hookSecretConfigs#229

Merged
KostyaSha merged 2 commits intojenkinsci:masterfrom
jglick:hookSecretConfigs-JENKINS-62097
May 10, 2020
Merged

[JENKINS-62097] GitHubPluginConfig.hookSecretConfig → hookSecretConfigs#229
KostyaSha merged 2 commits intojenkinsci:masterfrom
jglick:hookSecretConfigs-JENKINS-62097

Conversation

@jglick
Copy link
Member

@jglick jglick commented Apr 29, 2020

Amends #134. JENKINS-62097


This change is Reviewable

JENKINS-62097

@jglick jglick marked this pull request as draft April 29, 2020 19:07
@jglick jglick marked this pull request as ready for review April 29, 2020 19:20
: new HookSecretConfig(null);
}

@DataBoundSetter
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will it break existing caas configs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure specifically how CasC works here. In general it does not guarantee backward compatibility even when settings XML is compatible. Out of scope for the design.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be bad to break casc users, such change would require some version and compat hpi marker...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compatibleSinceVersion shows up in the GUI, not useful for CasC users.

In general when updating core/plugins with CasC you may need to make adjustments to YAML to match. AFAIK you get a straightforward error message otherwise so it is pretty obvious.

@KostyaSha KostyaSha merged commit 42e9b32 into jenkinsci:master May 10, 2020
@jglick jglick deleted the hookSecretConfigs-JENKINS-62097 branch May 11, 2020 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants