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

Enable custom build status names #1682

Open
DevOpsJeremy opened this issue May 13, 2024 · 2 comments
Open

Enable custom build status names #1682

DevOpsJeremy opened this issue May 13, 2024 · 2 comments

Comments

@DevOpsJeremy
Copy link

DevOpsJeremy commented May 13, 2024

Issue

Currently Pipelines as Code provides a build status to the git provider. The name/label of this build status is always what's set as the application-name (default is "Pipelines as Code CI").

This label isn't very informative as it is--especially if there are multiple different PipelineRuns defined in the repository. In some git providers such as Bitbucket Server, the only information available in the interface is the application name and build status--as such, there's no way to know which Pipeline is running without logging into OpenShift to see the status of the pipeline.

See example:
Untitled

Proposal

Enable the build label to be defined per-PipelineRun or per-Pipeline.

This could be defined in the annotations or maybe labels, something like:

labels:
  pipelinesascode.tekton.dev/application-name: build-docker-containers

If not specified in the PipelineRun, of course, it would default to what's defined in the ConfigMap.

@chmouel
Copy link
Member

chmouel commented May 15, 2024

Hi, which git provider ? most of them would show the application/pipelinerunname

@DevOpsJeremy
Copy link
Author

DevOpsJeremy commented May 16, 2024

This is for Bitbucket Server. It shows the application name "Pipelines as Code CI". But this name doesn't give any indication as to which pipeline is running. Below is an example of how the interface looks in Bitbucket Server:

Untitled

https://confluence.atlassian.com/bitbucketserver/view-builds-information-in-bitbucket-1014275096.html

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

No branches or pull requests

2 participants