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:
The same as in the file.
But when running under test, with mvn hpi:run or running integration tests (mvn package) it shows:
Even though both secrets are the same in the yaml file. Not sure if it's expected.