|
1 | 1 | --- |
2 | 2 | title: Shell Script step |
3 | 3 | description: Execute scripts in the shell session of the stage. |
| 4 | +tags: |
| 5 | + - shell-script-step |
| 6 | + - harness-shell-script |
| 7 | + - shell-script-steps-output-variables |
| 8 | + - shell-script-input-variables |
| 9 | + - shell-script-inline |
| 10 | + - shell-script-file-store |
| 11 | + - shell-script-powershell |
| 12 | + - shell-script-bash |
| 13 | + - shell-script-delegate-execution |
| 14 | + - shell-script-target-host |
| 15 | + - shell-script-output-alias |
| 16 | + - shell-script-secret-variables |
| 17 | + - shell-script-error-handling |
| 18 | + - shell-script-realtime-logging |
| 19 | + - shell-script-ignore-failure |
| 20 | + - shell-script-kubernetes |
| 21 | + - shell-script-include-infra-selectors |
| 22 | + - shell-script-advanced-settings |
| 23 | + - shell-script-escaping-characters |
| 24 | + - shell-script-oidc |
| 25 | + - shell-script-mdm |
| 26 | + - shell-script-uem |
| 27 | + - shell-script-iot |
| 28 | + - shell-script-edge |
4 | 29 | sidebar_position: 3 |
5 | 30 | --- |
6 | 31 |
|
@@ -202,7 +227,7 @@ If you select **Bash**, Harness will use `sh` because it is standardized and por |
202 | 227 |
|
203 | 228 | If you are running the script on a remote VM via ssh, Harness will use the default shell of that machine. Importantly, shebangs in the script such as `#!/bin/sh` or `#!bin/bash` will not override the default setting. |
204 | 229 |
|
205 | | -In case of PowerShell, if the script executes on Delegate it requires the powershell binary to be installed as it is not shipped with delegate tools, see the [Install PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.3) for installation instructions. |
| 230 | +In case of PowerShell, if the script executes on Delegate, it requires the PowerShell binary to be installed, as it is not shipped withith delegate tools, see the [Install PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.3) for installation instructions. |
206 | 231 |
|
207 | 232 | :::info note |
208 | 233 | PowerShell version 7.5.0 and above are not supported. Users will encounter errors when using version 7.5.0 or later in the Harness delegate. |
|
0 commit comments