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

Fix #28 NPE in KsmCredential constructor when credentials are built by JCasC plugin #29

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

nfalco79
Copy link
Member

Fix the KsmCredential constructor with a guard on token variable that could be null when built from JCasC plugin because in the yaml token attribute is not serialized when empty or null.

I've add a test case to prove that the fix works as expected and will not fails at jenkins startup

@jsupun
Copy link
Contributor

jsupun commented Jun 20, 2023

Looks good. Merged.

Thank You

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