Merge pull request #8279 from Narayan-dasari/master

fix(circleci): Mapping vcs-type dynamically instead of hardcoding to git
This commit is contained in:
Tim Hansen
2021-12-01 10:32:19 -07:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-circleci': patch
---
Fixed a bug in the `CircleCI` plugin where restarting builds was hard-coded to GitHub rather than introspecting the entity source location.
+1 -1
View File
@@ -162,7 +162,7 @@ export function useBuilds() {
vcs: {
owner: owner,
repo: repo,
type: GitType.GITHUB,
type: mapVcsType(vcs),
},
});
} catch (e) {