-
Bug
-
Resolution: Fixed
-
Major
-
None
As in the PR https://github.com/jenkinsci/azure-commons-plugin/pull/4 , currently the SSH credentials in azure-commons calls Secret.fromString to store the intermediate secrets.
This may be called from the slave nodes, where the encryption / decryption may fail as there is no complete Jenkins instance in slave environment.
Steps to reproduce:
- Install the kubernetes-cd-plugin (version: 0.1.3)
- Create a username password credential. For the password, use base64 encoded string.
- Create a job with kubernetes deployment, select the SSH credentials type, and choose the credentials created above
- Schedule the job to a slave node and it will fail on NPE when it tries to decrypt the password in Secret
–
Fixing in progress.