Removed pipefail from bash shell execution to match GitHub Actions (#529)
fixes #528 Co-authored-by: Hugh Lunt <hugh.lunt@itv.com> Co-authored-by: Hugh Lunt <hugh.lunt@itv.com>
This commit is contained in:
parent
661aa08235
commit
60669808a4
|
@ -259,7 +259,7 @@ func (s *Step) ShellCommand() string {
|
||||||
|
|
||||||
switch s.Shell {
|
switch s.Shell {
|
||||||
case "", "bash":
|
case "", "bash":
|
||||||
shellCommand = "bash --noprofile --norc -eo pipefail {0}"
|
shellCommand = "bash --noprofile --norc -e {0}"
|
||||||
case "pwsh":
|
case "pwsh":
|
||||||
shellCommand = "pwsh -command \"& '{0}'\""
|
shellCommand = "pwsh -command \"& '{0}'\""
|
||||||
case "python":
|
case "python":
|
||||||
|
|
Loading…
Reference in New Issue