-
Notifications
You must be signed in to change notification settings - Fork 245
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
[JENKINS-66639] adding explict jcasc symbol on CertificateCredentialImpl and UsernamePasswordCredentialsImpl classes #227
Conversation
Unrelated changes in |
There was a problem hiding this 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
.
src/test/java/com/cloudbees/plugins/credentials/casc/CredentialsCategoryTest.java
Outdated
Show resolved
Hide resolved
…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; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or just SecretBytes.fromString
;)
(Will merge once CI passes) |
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.