Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21593

Bamboo will make an SSH task successful even if there were errors during the execution.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.1.1
    • SCP and SSH tasks
    • None

    Description

      Issue Summary

      During the execution of an SSH task, Bamboo will execute its entire content and will take into consideration only the last exit code.

      Steps to Reproduce

      1. Create an SSH task with at least two commands.
      2. The first command should force fail (exit code = 1).
      3. The second (and final) command should succeed (exit code = 0).

      Expected Results

      The SSH task will fail.

      Actual Results

      The SSH will be successful and the execution of the buld will continue.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Activity

          People

            Unassigned Unassigned
            pdemitrio Patricio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: