-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
Copy pathtask.json
84 lines (84 loc) · 4.56 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
75
76
77
78
79
80
81
82
83
84
{
"id": "2661B7E5-00F9-4DE1-BA41-04E68D70B528",
"name": "NuGet",
"friendlyName": "NuGet command",
"description": "Deprecated: use the “NuGet” task instead. It works with the new Tool Installer framework so you can easily use new versions of NuGet without waiting for a task update, provides better support for authenticated feeds outside this organization/collection, and uses NuGet 4 by default.",
"category": "Package",
"author": "Microsoft Corporation",
"preview": "true",
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget",
"helpMarkDown": "",
"version": {
"Major": 0,
"Minor": 236,
"Patch": 0
},
"runsOn": [
"Agent",
"DeploymentGroup"
],
"minimumAgentVersion": "2.144.0",
"deprecated": true,
"removalDate": "2024-01-31",
"deprecationMessage": "The NuGet@0 (NuGet command) task has been deprecated and will soon be retired. Use the NuGetCommand@2 task instead.",
"groups": [],
"instanceNameFormat": "NuGet $(command)",
"inputs": [
{
"name": "command",
"type": "string",
"label": "Command",
"defaultValue": "",
"helpMarkDown": "The NuGet command to run.\n\nExamples: restore, pack",
"required": "true"
},
{
"name": "arguments",
"type": "string",
"label": "Arguments",
"defaultValue": "",
"helpMarkDown": "Arguments for the provided command",
"required": "false"
}
],
"execution": {
"Node10": {
"target": "nuget.js",
"argumentFormat": ""
},
"Node16": {
"target": "nuget.js",
"argumentFormat": ""
}
},
"messages": {
"Info_NuGetSupportedAfter3_5": "The NuGet version being used is %s and only versions >= 3.5.0 are suported by this task. ",
"BuildIdentityPermissionsHint": "For internal feeds, make sure the build service identity '%s' [%s] has access to the feed.",
"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_UnabletoDetectNuGetVersio": "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."
}
}