NuGetCommand@2 2.167.4 Failing with ##[error]Invalid Version: null
See original GitHub issueQuestion, Bug, or Feature?
Type: Bug
Enter Task Name: NuGetCommand
Environment
-
Server - Azure Pipelines
- If using Azure Pipelines, provide the account name, team project name, build definition name/build number: https://dev.azure.com/PODS-LLC/SWE/_build/results?buildId=1115&view=logs&j=06b09b7f-cda8-59d3-666e-99401b0cb6ad&t=a0898f81-5753-5970-ef6e-4fd837b2651a Organization (account name?): PODS-LLC Team project name: SWE Build definition name: \Services\DistanceCalculatorService Build number: 20200407.3 Build id: 1114 Was passing on build number: 1.0.0.1108 Build id: 1108
-
Agent - Private:
- If using private agent, provide the OS of the machine running the agent and the agent version: OS: Windows Server 2016 Agent version: 2.165.2
Issue Description
It appears that NuGetCommand version 2.167.2 was working for me around 7:14 PM (2020-04-07T19:14:00-04:00) and stopped working with NuGetCommand version 2.167.4 around 7:55 PM (2020-04-07T19:55:00-04:00)
Task logs
raw_logs_from_build_id_1114_logs_48.zip
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting Yes, I troubleshooted (troubleshot?, troubleshotted?) and collected diagnostic logs.
Error logs
##[error]Invalid Version: null
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:10 (3 by maintainers)
Top Results From Across the Web
NuGetCommand@2 - NuGet v2 task | Microsoft Learn
Restore, pack, or push NuGet packages, or run a NuGet command. Supports NuGet.org and authenticated feeds like Azure Artifacts and MyGet.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@im2cre8iv I believe we will have a public RCA on this, but the short version is that we had to rush through normal gates because of https://status.dev.azure.com/_event/182998791 and the manual testing we had done that we thought would cover this did not (still unsure why). Needless to say, this was a mistake.
We have seen the same issue, that is
##[error]Invalid Version: null
in yaml pipeline usingnugetcommand@2
, change task version tonugetcommand@1
has resolved the issue.