backstage / backstage/community-plugins

๐Ÿ› scaffolder-backend-module-azure-devops: pipeline run failure causes plugin output error

Open
#9,119 6 comments 0 reactions 0 assignees View on GitHub
bug help wanted workspace/azure-devops
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

Image

### ๐Ÿ‘Ÿ 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.