-
Notifications
You must be signed in to change notification settings - Fork 19
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
Azure Pipelines status showing as 'failed'; latest build returns 'Pipeline not found' #130
Comments
Hmm, that was a new one. Thanks again for reporting, learn new stuff. 🙂 This probably because as per #129 several pipelines ran on the same commit ID. Guessing it find a random job and reports that, not sure if it possible to fix without pushing a new commit and then releasing that commit as 5.0.1 or something. 🤔 |
It gets the badge from this URL: https://dev.azure.com/dsccommunity/DFSDsc/_apis/build/status/dsccommunity.DFSDsc?branchName=main The API has no options to choose "the last one": https://learn.microsoft.com/en-us/rest/api/azure/devops/build/status/get?view=azure-devops-rest-7.0 |
So if we can find a typo or something else easy to fix under the source folder, then we can release a patch version and hopefully the label will be green (it works in other repos, when there is a single release on one commit ID). 😉 |
This file should no longer be needed with the latest ModuleBuilder version, so it is safe to remove: https://github.com/dsccommunity/DFSDsc/blob/main/source/Build.psd1 |
@Borgquite if you would be so kind to review (sign off) on the PR #131 then I can merge it (once the tests passes). |
@johlju :) Don't have write access so not sure if my review is enough. Nonetheless have done so in case it helps! :) |
Should be all good now. 🙂 |
This really is a nit pick - blame @johlju for encouraging me to report things in #129 :)
For some reason on the front page the 'Azure Pipelines' build status shows as 'FAILED':
Clicking this returns the results for a (failed) 4.5.0-preview.2 build.
From there clicking 'Pipelines' shows the successful 5.0.0 build:
But clicking that link for more details shows 'Pipeline not found':
Not a big deal but seems the automated build process is still a bit 'off'
The text was updated successfully, but these errors were encountered: