-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
2
-
Issue Summary
Currently, Bamboo is only looking for a successful response code with a PowerShell script. So, by default, if you run a PowerShell script task with some non existing command, Bamboo will mark this task as successful.
Steps to Reproduce
- Create a script task with powershell interpreter and coma content like "idonotexist"
- Run the plan
Expected Results
Script task fails
Actual Results
Script task is green even though the above command will cause an error.
Workaround
There's a workaround of handing errors in a PowerShell script, for example, check exit code of commands or/and set $ErrorActionPreference = "Stop"
- is related to
-
BAM-26065 Bamboo variables are been read as unique String when setting more than one value
-
- Closed
-
- mentioned in
This feature request implementation will be reverted at 10.2.3 because of unexpected break of existing workflows. We will focus at implementing that feature targeted for future major release