OctopusDeploy / cli

| Public | Next Generation of the Octopus CLI :octopus:
Other
35 stars 10 forks source link

fix: wait task command printing there was a failed task even though all tasks were successful #423

Closed hnrkndrssn closed 1 month ago

hnrkndrssn commented 1 month ago

Before

❯ ./octopus release deploy -p "Test 2" --version 0.0.9 -e Local --no-prompt --output-format basic | ./octopus task wait
Deploy Test 2 release 0.0.9 to Local: Executing
Deploy Test 2 release 0.0.9 to Local: Success
one or more deployment tasks failed

After

❯ ./octopus release deploy -p "Test 2" --version 0.0.9 -e Local --no-prompt --output-format basic | ./octopus task wait
Deploy Test 2 release 0.0.9 to Local: Executing
Deploy Test 2 release 0.0.9 to Local: Success
❯ ./octopus release deploy -p "Test 2" --version 0.0.9 -e Local --no-prompt --output-format basic | ./octopus task wait
Deploy Test 2 release 0.0.9 to Local: Executing
Deploy Test 2 release 0.0.9 to Local: Canceled
one or more deployment tasks failed

Fixes https://github.com/OctopusDeploy/cli/issues/421

hnrkndrssn commented 1 month ago

This was actually already fixed in #422