-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins 2.73.3, 2.164.1, 2.165
JCasC 1.19, 1.20-snapshot
Credentials 2.19, 2.20
Jenkins 2.73.3, 2.164.1, 2.165 when running " under test ", let's say `mvn hpi:run` or `mvn test`, ciphers the tokens even though they are ciphered in the YAML, whereas the same Jenkins running normally doesn't cipher the tokens if they are already ciphered.
When configuring with the attached yml:
If Jenkins is running normally (java -jar ...), in the viewExport page (View Configuration button) it shows:
_
{AQAAABAAAAAQ93qR7ipIm+dYmOZ1AXqSLWDj9V+KUrHew/fiyPNoHTo=}_
The same as in the file.
But when running under test, with mvn hpi:run or running integration tests (mvn package) it shows:
usernamePassword:
_
_
basicSSHUserPrivateKey:
_
_
Even though both secrets are the same in the yaml file. Not sure if it's expected.