Hi
I run a component process where this component process contains a shell script.
During the execution of component process i need to supply dynamic input parameter to the shell script.
how can i do it ? can anyone help me ?
Currently i am using IBM UrbanCode Deploy version 6.1.1.3.653823
Thanks in advance.
Answer by Eric Minick (1384) | Jun 09, 2015 at 09:49 PM
Assuming you're using a shell step, you just make the dynamic parameter.
./myscript.sh -parameter ${p:dynamic_thing}
You would then create the input for that as an Application Property. If it varies by environment or component or resource you can hang the property of those objects as well, but you may need a different property context. For more on that, see the docs: https://www-01.ibm.com/support/knowledgecenter/SS4GSP_6.1.1/com.ibm.udeploy.reference.doc/topics/ud_properties.html
Thanks for your explanation Eric. i tested it works now,.