Hi, I have set up the azure devops plugin according to these instructions. I have the app-config setup with the required azure integration and under my backstage catalog-info i've added the dev.azure.com/project-repo annotation as needed:
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: backstage
description: My Backstage instance
annotations:
backstage.io/techdocs-ref: dir:.
backstage.io/kubernetes-id: backstage
dev.azure.com/project-repo: Backstage/backstage
spec:
type: website
owner: group:technical
lifecycle: experimental
I'm using the backstage project itself to test the plugin since it has some PRs and an active pipeline (attached image). So in the frontend inside the EntityPage I've added a tab for the ReadMe and PRs and under cicdContent I've the the AzurePiplines Component:
const cicdContent = (
<EntitySwitch>
<EntitySwitch.Case>
<EmptyState
title="No CI/CD available for this entity"
missing="info"
description="You need to add an annotation to your component if you want to enable CI/CD for it. You can read more about annotations in Backstage by clicking the button below."
action={
<Button
variant="contained"
color="primary"
href="https://backstage.io/docs/features/software-catalog/well-known-annotations"
>
Read more
</Button>
}
/>
<EntitySwitch.Case if={isAzureDevOpsAvailable}>
<EntityAzurePipelinesContent defaultLimit={25} />
</EntitySwitch.Case>
</EntitySwitch.Case>
</EntitySwitch>
);
But when I import the backstage entity, its able too pickup the pull requests and readme but not the pipelines. Is there anything I might be missing? (attached screenshots)