-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
task.json
74 lines (74 loc) · 4.88 KB
/
task.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"id": "2C65196A-54FD-4A02-9BE8-D9D1837B7C5D",
"name": "NuGetToolInstaller",
"friendlyName": "NuGet Tool Installer",
"description": "Acquires a specific version of NuGet from the internet or the tools cache and adds it to the PATH. Use this step to change the version of NuGet used in the NuGet steps.",
"helpMarkDown": "[More Information](https://go.microsoft.com/fwlink/?linkid=852538)",
"category": "Tool",
"runsOn": [
"Agent",
"DeploymentGroup"
],
"minimumAgentVersion": "2.115.0",
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 1,
"Patch": 5
},
"preview": false,
"satisfies": ["NuGet"],
"demands": [],
"instanceNameFormat": "Use NuGet $(versionSpec)",
"inputs": [{
"name": "versionSpec",
"type": "string",
"label": "Version of NuGet.exe to install",
"defaultValue": "4.3.0",
"required": true,
"helpMarkDown": "A version or version range that specifies the NuGet version to make available on the path. Use x as a wildcard. See the [list of available NuGet versions](http://dist.nuget.org/tools.json).\n\nIf you want to match a pre-release version, the specification must contain a major, minor, patch, and pre-release version from the list above.\n\nExamples: 4.x, 3.3.x, 2.8.6, >=4.0.0-0"
},
{
"name": "checkLatest",
"type": "boolean",
"label": "Always download the latest matching version",
"defaultValue": "false",
"required": false,
"helpMarkDown": "Always check for and download the latest available version of NuGet.exe which satisfies the version spec. This option will also always incur download time, even if the selected version of NuGet is already cached.\n\nEnabling this option could cause unexpected build breaks when a new version of NuGet is released."
}
],
"execution": {
"Node": {
"target": "nugettoolinstaller.js",
"argumentFormat": ""
}
},
"messages": {
"Error_ApiKeyNotSupported": "DotNetCore currently does not support using an encrypted Api Key.",
"Error_ExpectedConfigurationElement": "Invalid xml. Expected element named 'configuration'.",
"Error_NoMatchingFilesFoundForPattern": "No matching files were found with search pattern: %s",
"Error_NoUrlWasFoundWhichMatches": "No download URL was found for %s",
"Error_NoVersionWasFoundWhichMatches": "No version was found which matches the input %s",
"Error_NuGetToolInstallerFailer": "Tool install failed: %s",
"Info_AvailableVersions": "The available versions are: %s",
"Info_ExpectBehaviorChangeWhenUsingVersionQuery": "You are using a query match on the version string. Behavior changes or breaking changes might occur as NuGet updates to a new version.",
"Info_MatchingUrlWasFoundSettingAuth": "Using authentication information for the following URI: ",
"Info_ResolvedToolFromCache": "Resolved from tool cache: %s",
"Info_SavingTempConfig": "Saving NuGet.config to a temporary config file.",
"Info_UsingToolPath": "Using tool path: %s",
"Info_UsingVersion": "Using version: %s",
"NGCommon_AddingSources": "Setting credentials in NuGet.config",
"NGCommon_AreaNotFoundInSps": "Unable to locate the '%s' [%s] area. The service containing that area may not be available in your region.",
"NGCommon_DetectedNuGetExtensionsPath": "Detected NuGet extensions loader path (NUGET_EXTENSIONS_PATH environment variable): %s",
"NGCommon_DetectedNuGetVersion": "Detected NuGet version %s / %s",
"NGCommon_IgnoringNuGetExtensionsPath": "Detected NuGet extensions loader path (NUGET_EXTENSIONS_PATH environment variable). Extensions are ignored when using the built-in NuGet client",
"NGCommon_NoSourcesFoundInConfig": "No package sources were found in the NuGet.config file at %s",
"NGCommon_NuGetConfigIsInvalid": "The NuGet.config at %s is invalid.",
"NGCommon_NuGetConfigIsPackagesConfig": "Expected a NuGet.config file at %s, but its contents appear to be a packages.config. Check the settings for the %s task and confirm you selected NuGet.config rather than packages.config.",
"NGCommon_RemovingSources": "Preparing to set credentials in NuGet.config",
"NGCommon_SpsNotFound": "Unable to find the '%s' [%s] area. There may be a problem with your Team Foundation Server installation.",
"NGCommon_UnabletoDetectNuGetVersion": "Unknown NuGet version selected.",
"NGCommon_UnableToFindTool": "Unable to find tool %s",
"Warning_UpdatingNuGetVersion": "Updating version of NuGet.exe to %s from %s. Behavior changes or breaking changes might occur as NuGet updates to a new version. If this is not desired, uncheck the 'Check for Latest Version' option in the task."
}
}