I have a pipeline that use some user defined environment variables. In particular, I have a variable CodeCommitKey set to a secured base64 value.
When I echo this variable, I get the following, in the pipeline:
+echo $CodeCommitKey
$CodeCommitKey
Hence, of course, the pipeline fails, as it's expecting a base64 encoded value, but instead gets "$CodeCommitKey".
Anyone can help me?
Thanks
Problem solved.
secured variables never appear.
The problem was that there was line breaks and carriage returns in the b64 value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.