environment variables in run command line

book

Article ID: 127530

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

We are planning to use the Run-Command line action to execute the .nolio.cmd/nolio.sh to execute the process and wanted to gather some  more understanding on below mentioned questions.

The sample command we are planning to use is

/nolio.sh run-process -a 'Test Application' -e 'Environment for Two Servers Architecture'  -f 'Process in SA 2' -s {<hostname>} -j "s4" -r '{<HOSTNAME>/Tomcat/time_value_delay,5,<HOSTNAME>/Tomcat/password_param,test_value}' -u <RA USER> -p <RA USER PWD>



  1. Can you confirm if the environment variable name in the run command line action is specific to only that process initiated?
  2. Can you confirm if a password variable is used in environment variable values , it will not display in any of the logs in RA?

Environment

CA Release Automation: 6.4, 6.5 and higher

Resolution

1: Can you confirm if the environment variable name in the run command line action is specific to only that process initiated?

The parameter value passed via above command line will be only specific to the process.

2: Can you confirm if a password variable is used in environment variable values , it will not display in any of the logs in RA?

Yes, as the password value been passed as the command-line it will be logged as the parameters passed in the command.

Additional Information

Note: Environment Variables mentioned in the Run-Command line action not to be confused with Environment Variable of Release Automation, they are environment variable set at OS level