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

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/923a2542-30e3-4ec6-b0f0-e142f0b5f439%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to