backstage / backstage/community-plugins
๐ scaffolder-backend-module-azure-devops: pipeline run failure causes plugin output error
- Dominant language
- TypeScript
- Stars
- 422
- Forks
- 697
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 286
Description
### Workspace
azure-devops
### ๐ Description
If the Azure Pipeline run was unsuccessful (both failed and canceled), the plugin throws errors in the task run logs.
### ๐ Expected behavior
It should return status of the pipeline and list of errors from the pipeline
### ๐ Actual Behavior with Screenshots
### ๐ Reproduction steps
1. Create Azure DevOps pipeline which fails
2. Run a template which triggers action: azure:pipeline:run
3. Observe logs in Backstage UI
### ๐ Provide the context for the Bug.
_No response_
### ๐ Have you spent some time to check if this bug has been raised before?
- [x] I checked and didn't find similar issue
### ๐ข Have you read the Code of Conduct?
- [x] I have read the [Code of Conduct](https://github.com/backstage/community-plugins/blob/main/CODE_OF_CONDUCT.md)
### Are you willing to submit PR?
None
Contributor guide
Research direction
Start with the azure:pipeline:run action in the scaffolder-backend-module-azure-devops plugin and reproduce the failure and cancellation cases described in the issue. Trace the task-run logging for unsuccessful Azure Pipeline runs; done means the action returns the pipeline status and lists pipeline errors without throwing a plugin output error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 63/100