Resolution
By default, the system default shell will be run. In a Shell Step, multiple lines are accepted. It is therefore possible to use an interpreter selector such as !/bin/ksh
or !/usr/bin/perl
.
KSH Example:
node { sh "#!/bin/ksh \n" + "echo \"Hello from \$SHELL\"" }
Perl Example:
node { sh "#!/usr/bin/perl \n" + "print \"Hello from \$SHELL\";" }