Azure-pipelines-tasks: Error message when UseDotNetV2 task fails to download releases-index.json incorrectly mentions release-index.json

Created on 23 Apr 2020  路  5Comments  路  Source: microsoft/azure-pipelines-tasks

Question, Bug, or Feature?
Type: Bug

Enter Task Name: UseDotNet

Environment

  • Server - Azure Pipelines

Issue Description

Error message when download fails incorrectly mentions "release-index.json" (should be releases-index.json).
The code in /Tasks/UseDotNetV2/versionfetcher.ts has the correct filename, but the error message dropped the s (in all possible languages it seems)

image

Release bug

All 5 comments

This was actually caused by GitHub where it failed to respond with the release-index.json file and instead threw an internal server error. This is working on my end again but depending on your location might require a bit more time until GitHub servers catch up.

Regarding the underlying issue, I have opened #12742 in an attempt to make the task a bit smarter when it is restoring a fixed SDK version, so that it will look at the cache first. This would have solved the issue in your case too since you depend on 3.0.100.

@poke this ticket is about the incorrect error message when we fail to download the file. The file is releases-index.json. the error message mentions release-index.json (a file which actually does not exist)

@rikogeln Oh sorry, I only really looked at the screenshot and didn鈥檛 really read what you were reporting. Really sorry about that!

@poke no worries

@bishal-pdMSFT - thanks for the fix. Some translation strings still contain the release-index.json e.g the japanese translation.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexszilagyi picture alexszilagyi  路  3Comments

pharring picture pharring  路  3Comments

montebhoover picture montebhoover  路  3Comments

timfish picture timfish  路  3Comments

MichaelWhiteCodingForFun picture MichaelWhiteCodingForFun  路  3Comments