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

[JENKINS-66639] adding explict jcasc symbol on CertificateCredentialImpl and UsernamePasswordCredentialsImpl classes #227

Merged
merged 4 commits into from
Oct 1, 2021

Conversation

aHenryJard
Copy link
Contributor

@aHenryJard aHenryJard commented Sep 15, 2021

https://issues.jenkins.io/browse/JENKINS-66639

For this specific feature, I have run test before and after adding the Symbol: both run are fine.

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@Vlatombe
Copy link
Member

Unrelated changes in SystemCredentialsTest ?

Copy link
Member

@jglick jglick left a comment

Choose a reason for hiding this comment

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

Other than the missing test case in SystemCredentialsTest this looks reasonable.

Do not forget about the other most commonly used implementations, in ssh-credentials and plain-credentials, maybe also aws-credentials.

…lsCategoryTest.java

Co-authored-by: Vincent Latombe <vincent@latombe.net>
import hudson.Extension;
import hudson.ExtensionList;
import io.jenkins.plugins.casc.ConfigurationAsCode;
import io.jenkins.plugins.casc.misc.ConfiguredWithCode;
import io.jenkins.plugins.casc.misc.JenkinsConfiguredWithCodeRule;
import jcifs.util.Base64;
Copy link
Member

Choose a reason for hiding this comment

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

Use the Java Platform version.

Copy link
Member

Choose a reason for hiding this comment

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

The trap of merging GitHub suggested changes 😄

Copy link
Contributor

Choose a reason for hiding this comment

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

Or just SecretBytes.fromString ;)

@Wadeck
Copy link
Contributor

Wadeck commented Oct 1, 2021

(Will merge once CI passes)

@Wadeck Wadeck merged commit ee8bbac into jenkinsci:master Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants