diff --git a/Tasks/DownloadPackageV0/download.ts b/Tasks/DownloadPackageV0/download.ts index 755566049a44..c047160d8b9b 100644 --- a/Tasks/DownloadPackageV0/download.ts +++ b/Tasks/DownloadPackageV0/download.ts @@ -238,5 +238,5 @@ export async function unzip(zipLocation: string, unzipLocation: string): Promise } main() - .then(() => tl.setResult(tl.TaskResult.Succeeded, "")) + .then(() => tl.setResult(tl.TaskResult.SucceededWithIssues, tl.loc("DeprecatedTask"))) .catch((error) => tl.setResult(tl.TaskResult.Failed, error)); diff --git a/Tasks/DownloadPackageV0/task.json b/Tasks/DownloadPackageV0/task.json index 60e3887589a7..5655fa83715b 100644 --- a/Tasks/DownloadPackageV0/task.json +++ b/Tasks/DownloadPackageV0/task.json @@ -9,7 +9,7 @@ "author": "ms-vscs-rm", "version": { "Major": 0, - "Minor": 233, + "Minor": 234, "Patch": 0 }, "demands": [], diff --git a/Tasks/DownloadPackageV0/task.loc.json b/Tasks/DownloadPackageV0/task.loc.json index a4d0d4885f7d..a2a2b06f06fa 100644 --- a/Tasks/DownloadPackageV0/task.loc.json +++ b/Tasks/DownloadPackageV0/task.loc.json @@ -9,7 +9,7 @@ "author": "ms-vscs-rm", "version": { "Major": 0, - "Minor": 233, + "Minor": 234, "Patch": 0 }, "demands": [], diff --git a/Tasks/NuGetInstallerV0/nugetinstaller.ts b/Tasks/NuGetInstallerV0/nugetinstaller.ts index 962fdb205b97..48e0d8898831 100644 --- a/Tasks/NuGetInstallerV0/nugetinstaller.ts +++ b/Tasks/NuGetInstallerV0/nugetinstaller.ts @@ -194,7 +194,7 @@ async function main(): Promise { throw new Error(tl.loc("DeprecatedTask")); } - tl.setResult(tl.TaskResult.Succeeded, tl.loc("PackagesInstalledSuccessfully")); + tl.setResult(tl.TaskResult.SucceededWithIssues, tl.loc("DeprecatedTask")); } catch (err) { tl.error(err); diff --git a/Tasks/NuGetInstallerV0/task.json b/Tasks/NuGetInstallerV0/task.json index 3fa19e796ceb..3a612338db13 100644 --- a/Tasks/NuGetInstallerV0/task.json +++ b/Tasks/NuGetInstallerV0/task.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 233, + "Minor": 234, "Patch": 0 }, "runsOn": [ diff --git a/Tasks/NuGetInstallerV0/task.loc.json b/Tasks/NuGetInstallerV0/task.loc.json index 3c821e336abe..1d8e05ed48dd 100644 --- a/Tasks/NuGetInstallerV0/task.loc.json +++ b/Tasks/NuGetInstallerV0/task.loc.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 233, + "Minor": 234, "Patch": 0 }, "runsOn": [ diff --git a/Tasks/NuGetRestoreV1/nugetinstaller.ts b/Tasks/NuGetRestoreV1/nugetinstaller.ts index 11d345e6159f..0526cddcd298 100644 --- a/Tasks/NuGetRestoreV1/nugetinstaller.ts +++ b/Tasks/NuGetRestoreV1/nugetinstaller.ts @@ -240,7 +240,7 @@ async function main(): Promise { isNugetOrgBehaviorWarn ? tl.setResult(tl.TaskResult.SucceededWithIssues, tl.loc("Warning_IncludeNuGetOrgEnabled")) - : tl.setResult(tl.TaskResult.Succeeded, tl.loc("PackagesInstalledSuccessfully")); + : tl.setResult(tl.TaskResult.SucceededWithIssues, tl.loc("DeprecatedTask")); } catch (err) { diff --git a/Tasks/NuGetRestoreV1/task.json b/Tasks/NuGetRestoreV1/task.json index 7a5bb6087e3e..3a572a19934c 100644 --- a/Tasks/NuGetRestoreV1/task.json +++ b/Tasks/NuGetRestoreV1/task.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 232, + "Minor": 234, "Patch": 0 }, "runsOn": [ diff --git a/Tasks/NuGetRestoreV1/task.loc.json b/Tasks/NuGetRestoreV1/task.loc.json index 12042987bd7d..7501d6e5b95b 100644 --- a/Tasks/NuGetRestoreV1/task.loc.json +++ b/Tasks/NuGetRestoreV1/task.loc.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 232, + "Minor": 234, "Patch": 0 }, "runsOn": [ diff --git a/_generated/DownloadPackageV0.versionmap.txt b/_generated/DownloadPackageV0.versionmap.txt index 110a5080e78f..b974e5158e6e 100644 --- a/_generated/DownloadPackageV0.versionmap.txt +++ b/_generated/DownloadPackageV0.versionmap.txt @@ -1,2 +1,2 @@ -Default|0.233.0 -Node20_229_1|0.233.1 +Default|0.234.0 +Node20_229_1|0.234.1 diff --git a/_generated/DownloadPackageV0/download.ts b/_generated/DownloadPackageV0/download.ts index 238495e54688..76f2dfb0dc87 100644 --- a/_generated/DownloadPackageV0/download.ts +++ b/_generated/DownloadPackageV0/download.ts @@ -234,5 +234,5 @@ export async function unzip(zipLocation: string, unzipLocation: string): Promise } main() - .then(() => tl.setResult(tl.TaskResult.Succeeded, "")) + .then(() => tl.setResult(tl.TaskResult.SucceededWithIssues, tl.loc("DeprecatedTask"))) .catch((error) => tl.setResult(tl.TaskResult.Failed, error)); diff --git a/_generated/DownloadPackageV0/task.json b/_generated/DownloadPackageV0/task.json index 14921dfdaf81..ceede813fd84 100644 --- a/_generated/DownloadPackageV0/task.json +++ b/_generated/DownloadPackageV0/task.json @@ -9,7 +9,7 @@ "author": "ms-vscs-rm", "version": { "Major": 0, - "Minor": 233, + "Minor": 234, "Patch": 0 }, "demands": [], @@ -116,7 +116,7 @@ "DeprecatedTask": "This task is deprecated. Please switch to using DownloadPackage@1 https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/download-package-v1" }, "_buildConfigMapping": { - "Default": "0.233.0", - "Node20_229_1": "0.233.1" + "Default": "0.234.0", + "Node20_229_1": "0.234.1" } } \ No newline at end of file diff --git a/_generated/DownloadPackageV0/task.loc.json b/_generated/DownloadPackageV0/task.loc.json index 2f4de5c033ab..ed5c1e9369a6 100644 --- a/_generated/DownloadPackageV0/task.loc.json +++ b/_generated/DownloadPackageV0/task.loc.json @@ -9,7 +9,7 @@ "author": "ms-vscs-rm", "version": { "Major": 0, - "Minor": 233, + "Minor": 234, "Patch": 0 }, "demands": [], @@ -116,7 +116,7 @@ "DeprecatedTask": "ms-resource:loc.messages.DeprecatedTask" }, "_buildConfigMapping": { - "Default": "0.233.0", - "Node20_229_1": "0.233.1" + "Default": "0.234.0", + "Node20_229_1": "0.234.1" } } \ No newline at end of file diff --git a/_generated/DownloadPackageV0_Node20/download.ts b/_generated/DownloadPackageV0_Node20/download.ts index 3d3d941c2ad1..b9c01c6510eb 100644 --- a/_generated/DownloadPackageV0_Node20/download.ts +++ b/_generated/DownloadPackageV0_Node20/download.ts @@ -234,5 +234,5 @@ export async function unzip(zipLocation: string, unzipLocation: string): Promise } main() - .then(() => tl.setResult(tl.TaskResult.Succeeded, "")) + .then(() => tl.setResult(tl.TaskResult.SucceededWithIssues, tl.loc("DeprecatedTask"))) .catch((error) => tl.setResult(tl.TaskResult.Failed, error)); diff --git a/_generated/DownloadPackageV0_Node20/task.json b/_generated/DownloadPackageV0_Node20/task.json index db91f0beae96..00041fba46ed 100644 --- a/_generated/DownloadPackageV0_Node20/task.json +++ b/_generated/DownloadPackageV0_Node20/task.json @@ -9,7 +9,7 @@ "author": "ms-vscs-rm", "version": { "Major": 0, - "Minor": 233, + "Minor": 234, "Patch": 1 }, "demands": [], @@ -120,7 +120,7 @@ "DeprecatedTask": "This task is deprecated. Please switch to using DownloadPackage@1 https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/download-package-v1" }, "_buildConfigMapping": { - "Default": "0.233.0", - "Node20_229_1": "0.233.1" + "Default": "0.234.0", + "Node20_229_1": "0.234.1" } } \ No newline at end of file diff --git a/_generated/DownloadPackageV0_Node20/task.loc.json b/_generated/DownloadPackageV0_Node20/task.loc.json index c0df9d27ecdc..d30d45037dcd 100644 --- a/_generated/DownloadPackageV0_Node20/task.loc.json +++ b/_generated/DownloadPackageV0_Node20/task.loc.json @@ -9,7 +9,7 @@ "author": "ms-vscs-rm", "version": { "Major": 0, - "Minor": 233, + "Minor": 234, "Patch": 1 }, "demands": [], @@ -120,7 +120,7 @@ "DeprecatedTask": "ms-resource:loc.messages.DeprecatedTask" }, "_buildConfigMapping": { - "Default": "0.233.0", - "Node20_229_1": "0.233.1" + "Default": "0.234.0", + "Node20_229_1": "0.234.1" } } \ No newline at end of file diff --git a/_generated/NuGetInstallerV0.versionmap.txt b/_generated/NuGetInstallerV0.versionmap.txt index 110a5080e78f..b974e5158e6e 100644 --- a/_generated/NuGetInstallerV0.versionmap.txt +++ b/_generated/NuGetInstallerV0.versionmap.txt @@ -1,2 +1,2 @@ -Default|0.233.0 -Node20_229_1|0.233.1 +Default|0.234.0 +Node20_229_1|0.234.1 diff --git a/_generated/NuGetInstallerV0/nugetinstaller.ts b/_generated/NuGetInstallerV0/nugetinstaller.ts index 962fdb205b97..48e0d8898831 100644 --- a/_generated/NuGetInstallerV0/nugetinstaller.ts +++ b/_generated/NuGetInstallerV0/nugetinstaller.ts @@ -194,7 +194,7 @@ async function main(): Promise { throw new Error(tl.loc("DeprecatedTask")); } - tl.setResult(tl.TaskResult.Succeeded, tl.loc("PackagesInstalledSuccessfully")); + tl.setResult(tl.TaskResult.SucceededWithIssues, tl.loc("DeprecatedTask")); } catch (err) { tl.error(err); diff --git a/_generated/NuGetInstallerV0/task.json b/_generated/NuGetInstallerV0/task.json index 7275064e8ff3..ababca844af9 100644 --- a/_generated/NuGetInstallerV0/task.json +++ b/_generated/NuGetInstallerV0/task.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 233, + "Minor": 234, "Patch": 0 }, "runsOn": [ @@ -149,7 +149,7 @@ "DeprecatedTask": "This task is deprecated. Please switch to using NuGetCommand@2's 'restore' or 'custom' option https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/nuget-command-v2" }, "_buildConfigMapping": { - "Default": "0.233.0", - "Node20_229_1": "0.233.1" + "Default": "0.234.0", + "Node20_229_1": "0.234.1" } } \ No newline at end of file diff --git a/_generated/NuGetInstallerV0/task.loc.json b/_generated/NuGetInstallerV0/task.loc.json index 30b3b8dc096c..91cffc45df60 100644 --- a/_generated/NuGetInstallerV0/task.loc.json +++ b/_generated/NuGetInstallerV0/task.loc.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 233, + "Minor": 234, "Patch": 0 }, "runsOn": [ @@ -149,7 +149,7 @@ "DeprecatedTask": "ms-resource:loc.messages.DeprecatedTask" }, "_buildConfigMapping": { - "Default": "0.233.0", - "Node20_229_1": "0.233.1" + "Default": "0.234.0", + "Node20_229_1": "0.234.1" } } \ No newline at end of file diff --git a/_generated/NuGetInstallerV0_Node20/nugetinstaller.ts b/_generated/NuGetInstallerV0_Node20/nugetinstaller.ts index 962fdb205b97..48e0d8898831 100644 --- a/_generated/NuGetInstallerV0_Node20/nugetinstaller.ts +++ b/_generated/NuGetInstallerV0_Node20/nugetinstaller.ts @@ -194,7 +194,7 @@ async function main(): Promise { throw new Error(tl.loc("DeprecatedTask")); } - tl.setResult(tl.TaskResult.Succeeded, tl.loc("PackagesInstalledSuccessfully")); + tl.setResult(tl.TaskResult.SucceededWithIssues, tl.loc("DeprecatedTask")); } catch (err) { tl.error(err); diff --git a/_generated/NuGetInstallerV0_Node20/task.json b/_generated/NuGetInstallerV0_Node20/task.json index 48d09415316e..bffed1cb6bdf 100644 --- a/_generated/NuGetInstallerV0_Node20/task.json +++ b/_generated/NuGetInstallerV0_Node20/task.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 233, + "Minor": 234, "Patch": 1 }, "runsOn": [ @@ -153,7 +153,7 @@ "DeprecatedTask": "This task is deprecated. Please switch to using NuGetCommand@2's 'restore' or 'custom' option https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/nuget-command-v2" }, "_buildConfigMapping": { - "Default": "0.233.0", - "Node20_229_1": "0.233.1" + "Default": "0.234.0", + "Node20_229_1": "0.234.1" } } \ No newline at end of file diff --git a/_generated/NuGetInstallerV0_Node20/task.loc.json b/_generated/NuGetInstallerV0_Node20/task.loc.json index c8d1c062bca1..d61f87d11101 100644 --- a/_generated/NuGetInstallerV0_Node20/task.loc.json +++ b/_generated/NuGetInstallerV0_Node20/task.loc.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 0, - "Minor": 233, + "Minor": 234, "Patch": 1 }, "runsOn": [ @@ -153,7 +153,7 @@ "DeprecatedTask": "ms-resource:loc.messages.DeprecatedTask" }, "_buildConfigMapping": { - "Default": "0.233.0", - "Node20_229_1": "0.233.1" + "Default": "0.234.0", + "Node20_229_1": "0.234.1" } } \ No newline at end of file diff --git a/_generated/NuGetRestoreV1/nugetinstaller.ts b/_generated/NuGetRestoreV1/nugetinstaller.ts index 11d345e6159f..0526cddcd298 100644 --- a/_generated/NuGetRestoreV1/nugetinstaller.ts +++ b/_generated/NuGetRestoreV1/nugetinstaller.ts @@ -240,7 +240,7 @@ async function main(): Promise { isNugetOrgBehaviorWarn ? tl.setResult(tl.TaskResult.SucceededWithIssues, tl.loc("Warning_IncludeNuGetOrgEnabled")) - : tl.setResult(tl.TaskResult.Succeeded, tl.loc("PackagesInstalledSuccessfully")); + : tl.setResult(tl.TaskResult.SucceededWithIssues, tl.loc("DeprecatedTask")); } catch (err) { diff --git a/_generated/NuGetRestoreV1/task.json b/_generated/NuGetRestoreV1/task.json index 7af8cd599fbb..3a572a19934c 100644 --- a/_generated/NuGetRestoreV1/task.json +++ b/_generated/NuGetRestoreV1/task.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 232, + "Minor": 234, "Patch": 0 }, "runsOn": [ @@ -169,9 +169,5 @@ "Warning_IncludeNuGetOrgEnabled": "IncludeNugetOrg is currently enabled for this task. To resolve this warning, edit your build task and set 'includeNuGetOrg' to 'false' or deselect 'Use packages from NuGet.org'.", "Error_IncludeNuGetOrgEnabled": "Packages failed to restore. Edit your build task and set 'includeNuGetOrg' to 'false' or deselect 'Use packages from NuGet.org'.", "DeprecatedTask": "This task is deprecated. Please switch to using NuGetCommand@2's 'restore' option https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/nuget-command-v2" - }, - "_buildConfigMapping": { - "Default": "1.232.0", - "Node20_229_1": "1.232.1" } } \ No newline at end of file diff --git a/_generated/NuGetRestoreV1/task.loc.json b/_generated/NuGetRestoreV1/task.loc.json index ca31f8b15a22..7501d6e5b95b 100644 --- a/_generated/NuGetRestoreV1/task.loc.json +++ b/_generated/NuGetRestoreV1/task.loc.json @@ -9,7 +9,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 232, + "Minor": 234, "Patch": 0 }, "runsOn": [ @@ -169,9 +169,5 @@ "Warning_IncludeNuGetOrgEnabled": "ms-resource:loc.messages.Warning_IncludeNuGetOrgEnabled", "Error_IncludeNuGetOrgEnabled": "ms-resource:loc.messages.Error_IncludeNuGetOrgEnabled", "DeprecatedTask": "ms-resource:loc.messages.DeprecatedTask" - }, - "_buildConfigMapping": { - "Default": "1.232.0", - "Node20_229_1": "1.232.1" } } \ No newline at end of file diff --git a/_generated/NuGetRestoreV1_Node20/nugetinstaller.ts b/_generated/NuGetRestoreV1_Node20/nugetinstaller.ts index 11d345e6159f..0526cddcd298 100644 --- a/_generated/NuGetRestoreV1_Node20/nugetinstaller.ts +++ b/_generated/NuGetRestoreV1_Node20/nugetinstaller.ts @@ -240,7 +240,7 @@ async function main(): Promise { isNugetOrgBehaviorWarn ? tl.setResult(tl.TaskResult.SucceededWithIssues, tl.loc("Warning_IncludeNuGetOrgEnabled")) - : tl.setResult(tl.TaskResult.Succeeded, tl.loc("PackagesInstalledSuccessfully")); + : tl.setResult(tl.TaskResult.SucceededWithIssues, tl.loc("DeprecatedTask")); } catch (err) { diff --git a/_generated/NuGetRestoreV1_Node20/task.json b/_generated/NuGetRestoreV1_Node20/task.json index 6b792820785e..3a572a19934c 100644 --- a/_generated/NuGetRestoreV1_Node20/task.json +++ b/_generated/NuGetRestoreV1_Node20/task.json @@ -9,8 +9,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 232, - "Patch": 1 + "Minor": 234, + "Patch": 0 }, "runsOn": [ "Agent", @@ -129,10 +129,6 @@ "Node16": { "target": "nugetinstaller.js", "argumentFormat": "" - }, - "Node20_1": { - "target": "nugetinstaller.js", - "argumentFormat": "" } }, "messages": { @@ -173,9 +169,5 @@ "Warning_IncludeNuGetOrgEnabled": "IncludeNugetOrg is currently enabled for this task. To resolve this warning, edit your build task and set 'includeNuGetOrg' to 'false' or deselect 'Use packages from NuGet.org'.", "Error_IncludeNuGetOrgEnabled": "Packages failed to restore. Edit your build task and set 'includeNuGetOrg' to 'false' or deselect 'Use packages from NuGet.org'.", "DeprecatedTask": "This task is deprecated. Please switch to using NuGetCommand@2's 'restore' option https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/nuget-command-v2" - }, - "_buildConfigMapping": { - "Default": "1.232.0", - "Node20_229_1": "1.232.1" } } \ No newline at end of file diff --git a/_generated/NuGetRestoreV1_Node20/task.loc.json b/_generated/NuGetRestoreV1_Node20/task.loc.json index 2130205fb3c3..7501d6e5b95b 100644 --- a/_generated/NuGetRestoreV1_Node20/task.loc.json +++ b/_generated/NuGetRestoreV1_Node20/task.loc.json @@ -9,8 +9,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 232, - "Patch": 1 + "Minor": 234, + "Patch": 0 }, "runsOn": [ "Agent", @@ -129,10 +129,6 @@ "Node16": { "target": "nugetinstaller.js", "argumentFormat": "" - }, - "Node20_1": { - "target": "nugetinstaller.js", - "argumentFormat": "" } }, "messages": { @@ -173,9 +169,5 @@ "Warning_IncludeNuGetOrgEnabled": "ms-resource:loc.messages.Warning_IncludeNuGetOrgEnabled", "Error_IncludeNuGetOrgEnabled": "ms-resource:loc.messages.Error_IncludeNuGetOrgEnabled", "DeprecatedTask": "ms-resource:loc.messages.DeprecatedTask" - }, - "_buildConfigMapping": { - "Default": "1.232.0", - "Node20_229_1": "1.232.1" } } \ No newline at end of file