Post

5 followers Follow
0
Avatar

XLRelease - use password in script

The task could not start because the following variables could not be replaced: ${abc}. Ensure that global variables are defined, password variables are only used in password fields, and other variables are only used in non-password fields.
we are using script which contain password like .\test1 -password "${abc}"

Dhrumal

Please sign in to leave a comment.

2 comments

0
Avatar

Doing this:

.\test1 -password releaseVariables['abc'] 

will NOT work, because releaseVariables['abc'] will return the base-64 encoded string of the password, which will not be the same as the actual password itself.

 

Is there a better way of achieving this?

Marius Manea 0 votes