Closed Mailhot01 closed 6 years ago
Hey @Mailhot01
Secret variables are:
Hence they are not available for any extensions or tasks to read the value. So this cannot be supported by the extension.
Thank you for the quick reply,
Your explanation makes perfect sens in that's it is not an issue but a desired limitation.
But in the end, once imported, the secret variable IS present and looks ok. Maybe the import should discard any secret variable and put empty its value field ?
For anyone else interested in this report, know that you simply have to manually delete and recreate the secret variable after the import.
Thank you for the plug-in, it certainly saved us some time by deploying 200+ build def.
Installed product versions
Description
Created a build definition by importing a template. Build on a V1.x agent and a V2.x agent. The V2.x agent builds log show that secret variables passed to scripts are empty.
Steps to recreate
Current behavior
We noted that secret variable were not working for all build definition which we imported from a saved template. The build definition actually shows the secret variable properly, but the end results show that the script only get empty strings.
Expected behavior
Secret Variable should work the same as the original build definition