Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-19920

Improve error message when Powershell is not available

    XMLWordPrintable

Details

    • Suggestion
    • Status: Gathering Interest (View Workflow)
    • Resolution: Unresolved
    • None
    • Logs, Tasks, Windows
    • None
    • 0
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Problem Definition

      When powershell is not available the following error can be seen in the build logs:

      Failing task since return code of [powershell -ExecutionPolicy bypass -Command C:\Users\xxx\AppData\Local\Temp\56328195-56426502-55312562-ScriptBuildTask-4818059119502732407.ps1] was -1 while expected 0

      This error is not helpful to diagnose that poswershell is not available in the agent.

      Suggested Solution

      Treat this error to show what is actually happening. The command is not available.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dsantos Daniel Santos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: