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

(AzureCommentReporter) BUILD_BUILD_ID is not official Azure DevOps env var #2509

Closed
DariuszPorowski opened this issue Apr 1, 2023 · 0 comments · Fixed by #2510
Closed

(AzureCommentReporter) BUILD_BUILD_ID is not official Azure DevOps env var #2509

DariuszPorowski opened this issue Apr 1, 2023 · 0 comments · Fixed by #2510
Labels
bug Something isn't working

Comments

@DariuszPorowski
Copy link
Contributor

Describe the bug

BUILD_BUILD_ID is not official Azure DevOps env var (ref: https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#build-variables-devops-services) used in AzureCommentReporter

In the AzureCommentReporter + docs all env vars follows official naming except this one.

To Reproduce

Steps to reproduce the behavior:

  1. Run megalinter on Azure DevOps with AzureCommentReporter using official build agent env vars
  2. See the link under the PR comment: See detailed report in [MegaLinter reports]
  3. Link in not valid and points to ...results?buildId=None&view=artifacts&pathAsName=false&type=publishedArtifacts (buildId is None)

Expected behavior

Link should point to valid buildId when official Azure DevOps env vars are used -> BUILD_BUILDID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant