Adding bash to the image skips after-script output.

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 266

      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

      1. Create a bitbucket-pipelines.yml using the node image.
      2. Add command in the script section adding bash. Example:
        apk -v --no-cache --update add bash
        
      1. 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.

            Assignee:
            Unassigned
            Reporter:
            Bruno
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: