Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to Pass Arguments to SSH Script file in the Patterns?

RK25
Giga Guru

I am attempting to execute a SSH script file but getting an error. The command works from the probe. Appreciate any insight.

Full command: "sh apache_custom.sh -/opt/apps/asa/webBinaries/ihs/ihs9/bin/httpd -/opt/apps/asa/webInstances/ihs/app3789/conf/httpd.conf"

Breakdown:

File location-->apache_custom.sh

Arg 1-->-/opt/apps/asa/webBinaries/ihs/ihs9/bin/httpd

Arg 2-->-/opt/apps/asa/webInstances/ihs/app3789/conf/httpd.conf

 

RK25_0-1720725503229.png

 

0 REPLIES 0