Hi there,
I have a Jenkins Master on RHEL (v 2.121.3), and an Agent running on NonStop, which looks and smells like Unix. On NonStop I have 2 choices for the shell, /bin/sh (which is symlinked to /bin/ksh) and /bin/bash. I normally use /bin/bash. I have a pipeline job that is pegged to run on the NonStop Agent (via node ()) with a pipeline declarative script. One of the steps is an sh with several lines. Problem is, the shell run by the sh step is /bin/sh. I cannot figure out how to change it. I tried #!/bin/bash as the first line of the sh step, but to no avail. It seems like the agent may be assuming /bin/sh when executing the sh step. Any ideas on how I can change the script used by the sh step in the pipeline?
Declarative Pipeline Plugin 1.3.1; Pipeline: Nodes and Processes Plugin 2.19
Thanks in advance!
Meg