-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
dotnet build in GetAllPackageDependenciesAsync failed. STDOUT: MSBuild version 17.8.3+195e7f5a3 for .NET #1004
Comments
The file contents provided are a bit mixed and are very likely wrong. Try the following: For trigger: none
schedules:
- cron: "0 2 * * *" # daily at 2am UTC
always: true
branches:
include:
- self
batch: true
displayName: Daily
stages:
- stage: CheckDependencies
displayName: "Check Dependencies"
jobs:
- job: Dependabot
displayName: "Run Dependabot"
pool:
vmImage: "ubuntu-latest"
steps:
- task: dependabot@1
inputs:
dockerImageTag: '1.24' For version: 2
registries:
my-nuget-feed:
type: nuget-feed
url: https://pkgs.dev.azure.com/ORG/_packaging/MY_Feed/nuget/v3/index.json
token: ":$(AZURE_ACCESS_TOKEN)"
updates:
- package-ecosystem: "nuget"
directory: "/Sources"
target-branch: "DEV"
registries:
- my-nuget-feed Notes:
|
"Thank you for your quick response after updating. After updating the token with this token: ":$(AZURE_ACCESS_TOKEN)", the above error was resolved." But I'm facing another issue Logs are as follow
"I have checked the permissions for Project Principal Build Service (ORG) and verified that it has the required permissions." Can you please help me out form this. |
After unchecking this |
@mburumaxwell |
The easiest way is to use the |
@mburumaxwell Thanks for your time I have check allow node it was not working. For now, i have used ignore.
|
@mburumaxwell Is there something that you can help me with. |
At some point, authentication was working. What changed? Can you trace back to then? Could you instead try a PAT for your account which actually has access to both the repositories and private feeds? |
OP ghosted the issue 😨 |
using azure devops extension for dependabot (Using azure repo + azure artifacts) as per log the feed and repo was authenticated. But still after fetching dependances it fails.
Initial logs:
After that
Following is my .azuredevops/dependabot.yml script
version: 2
registries:
my-nuget-feed:
type: nuget-feed
url: https://pkgs.dev.azure.com/ORG/_packaging/MY_Feed/nuget/v3/index.json
username: [email protected]
token: "$(PAT):"
and this is my Pipeline.
Please let me know if this is an issue for any changes are needed to work.
The text was updated successfully, but these errors were encountered: