Skip to content

Conversation

@jtnord
Copy link
Member

@jtnord jtnord commented Jul 8, 2024

amends #723 that was working as the KeyStore was not validated.

However jenkinsci/credentials-plugin#543 now validates the keystore and hence this test started failing as the password did not match

  • JENKINS issue(s):
    • Issue link or n/a
  • Description:
    • ...
  • Documentation changes:
    • Link to related jenkins.io PR or explanation for why doc change not needed
  • Users/aliases to notify:
    • ...

amends jenkinsci#723 that was working as the KeyStore was not validated.

However jenkinsci/credentials-plugin#543 now
validates the keystore and hence this test started failing as the
password did not match

File crt = new File(CredentialWrapperStepTest.class.getResource("dummy.p12").toURI());
CertificateCredentialsImpl certCred = new CertificateCredentialsImpl(CredentialsScope.GLOBAL, "certCred1", "sample", "test",
CertificateCredentialsImpl certCred = new CertificateCredentialsImpl(CredentialsScope.GLOBAL, "certCred1", "sample", "password",
Copy link
Member Author

Choose a reason for hiding this comment

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

double checked this was the correct password with openssl pkcs12 -legacy -info -in ./src/test/resources/org/jenkinsci/plugins/pipeline/modeldefinition/steps/dummy.p12

@jtnord jtnord merged commit c9522a9 into jenkinsci:master Jul 11, 2024
@jtnord jtnord deleted the adapt-test-to-credentials-changes branch July 11, 2024 11:04
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.

2 participants