VMware Aria Automation Tools

 View Only
  • 1.  How to use ${ internal shell variables in pipeline task

    Posted Mar 25, 2024 03:11 PM

    Hello

    I need to check the exit status of a shell script that in a pipeline task but unfortunately, I cannot use ${} to call the variable as the Validate task fail for any non pipeline variable.

     

    Is there a way to access Internal shell variables using ${ } in the pipeline task?



  • 2.  RE: How to use ${ internal shell variables in pipeline task

    Posted Sep 25, 2024 06:01 PM

    You need to escape the $ sign with \. For example:

    \${PATH}
    "\${my_var}-\${my_other_var}"