-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
1
-
Severity 3 - Minor
-
110
-
Issue Summary
In Bitbucket Pipelines, when we run a command to add bash to an image that doesn't contain bash by default causes a bug in the after script section.
Steps to Reproduce
- Create a bitbucket-pipelines.yml using the node image.
- Add command in the script section adding bash. Example:
apk -v --no-cache --update add bash
- Try running any command in the after script section.
Expected Results
It is expected that the after-script section will show the output of the commands.
Actual Results
The after-script section shows nothing.
Workaround
As a workaround, the user can:
- Don’t install bash;
- Use an image that already has bash installed.