Skip to content

[BUG]: NuGet Restore fails with latest task version #20922

Open
@amansidhu1981

Description

@amansidhu1981

New issue checklist

Task name

NuGet Restore

Task version

2.253.0

Issue Description

NuGet Restore step fails

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows

Relevant log output

2025-03-10T22:37:26.0631711Z ##[section]Starting: NuGet restore
2025-03-10T22:37:26.0783877Z ==============================================================================
2025-03-10T22:37:26.0784141Z Task         : NuGet
2025-03-10T22:37:26.0785479Z Description  : Restore, pack, or push NuGet packages, or run a NuGet command. Supports NuGet.org and authenticated feeds like Azure Artifacts and MyGet. Uses NuGet.exe and works with .NET Framework apps. For .NET Core and .NET Standard apps, use the .NET Core task.
2025-03-10T22:37:26.0786087Z Version      : 2.253.0
2025-03-10T22:37:26.0786263Z Author       : Microsoft Corporation
2025-03-10T22:37:26.0786512Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget
2025-03-10T22:37:26.0786780Z ==============================================================================
2025-03-10T22:37:26.4998259Z ##[error]Unhandled: Invalid regular expression: /*\.advsol\.tech/: Nothing to repeat
2025-03-10T22:37:26.5056328Z ##[section]Finishing: NuGet restore

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions