Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One or more deployment tasks failed #421

Closed
piyush94 opened this issue Sep 19, 2024 · 5 comments · Fixed by #422
Closed

One or more deployment tasks failed #421

piyush94 opened this issue Sep 19, 2024 · 5 comments · Fixed by #422

Comments

@piyush94
Copy link

The bug

octopus release deploy command says One or more deployment tasks failed. even though there is no error in the task log.

Command to reproduce

octopus --space Default --no-prompt release deploy --project My_Project  --environment Development01 --version $release_version --update-variables --output-format basic

Outcome

Deploy My_Project release 0.0.69 to Development01: Executing
Deploy My_Project release 0.0.69 to Development01: Success
One or more deployment tasks failed.

Versions

cli: 2.10.1

Octopus Server: 2024.3.12735

Links

@ukaan01
Copy link

ukaan01 commented Sep 19, 2024

might be because of this change
image

I'd assume that we need to check IsCompleted and only after that FinishedSuccessfully

@jameschensmith FYI ^

@jameschensmith
Copy link
Contributor

Oof. I'll see if I can look into that today. Thanks for the ping, @ukaan01.

@jameschensmith
Copy link
Contributor

Yeah. Looks like FinishedSuccessfully is non-nil when a task is not completed. Missed this. Sorry about that. I'll try to get a PR up shortly.

@jameschensmith
Copy link
Contributor

#422 should fix this issue.

@piyush94
Copy link
Author

@jameschensmith Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants