Closed delphe closed 1 year ago
@delphe It looks like you may have solved this, would you be able to submit the change to the template?
@delphe It looks like you may have solved this, would you be able to submit the change to the template?
Yes. Please see https://github.com/OctopusDeploy/Library/pull/1421
Step template
Run Azure DevOps Build Pipeline
Step version
1
Octopus version
2023.2.12643
Step template parameter inputs
Azure DevOps Wait Until Completion = False
What happened
An error message showed up and the step was marked as failed.
Reproduction steps
Set "Azure DevOps Wait Until Completion" param to False and run the deployment
More Information
If we are not waiting for the pipeline to complete we shouldn't check the status. I changed the last part of the PowerShell script to the following to resolve the issue:
else { Write-Host "Azure DevOps pipeline status unknown. Update process to wait until completion for status updates." }