In my job.properties I have defined username as usrname=$USERNAME
where USERNAME
variable is echoed from another shell script.
If I do echo $USERNAME
i get the correct username.
In the workflow.xml, this username is passed as ${usrname}
.
However the job is failing because of invalid username and in the log, I can see the username as $USERNAME
not the actual value.
Any help or guidance will be appreciated.
changed variable to read from pom.xml and the issue is resolved.