-
Type:
Bug
-
Status: Open
-
Resolution: Unresolved
-
Environment:
On Azure DevOps Server 2019 (or TFS)
Prerequisite:
- Have blocked any communication with internet on Azure DevOps Server agent machine
- Have a .net solution configurer with nuget packages to be download during CI (build)
- Artifactory Nuget task version : 2.10.2
- jfrog client version 1.38.2
- Create a build definition
- Add Artifactory Nuget (restore)
- Add Visual Studio build solution task next to Artifactory Nuget
- Save and Queue this build
Voilà, Artifactory task will be green (success) and Visual Studio build solution task will fail showing that no packages were found.
Error message logs of Artifactory Nuget task (en français*) :
2020-09-29T20:25:39.5083267Z ##[section]Démarrage : Artifactory NuGet restore
2020-09-29T20:25:39.5091652Z ==============================================================================
2020-09-29T20:25:39.5092124Z Task : Artifactory Nuget
2020-09-29T20:25:39.5092399Z Description : Restore and push NuGet packages from and to Artifactory while allowing to collect build-info. The collected build-info can be later published to Artifactory by the "Artifactory Publish Build Info" task.
2020-09-29T20:25:39.5092679Z Version : 2.10.2
2020-09-29T20:25:39.5092959Z Author : JFrog
2020-09-29T20:25:39.5093173Z Help : [More Information](https://www.jfrog.com/confluence/display/RTF/NuGet+Repositories)
2020-09-29T20:25:39.5093435Z ==============================================================================
2020-09-29T20:25:39.9642605Z Running jfrog-cli from D:\BuildsVnexAgents_toolsCache_jfrog\current\jfrog.exe.
2020-09-29T20:25:40.0078210Z JFrog CLI version: 1.38.2
2020-09-29T20:25:40.0242196Z NuGet not found in Path. Downloading...
2020-09-29T20:25:40.0304520Z Téléchargement : https://dist.nuget.org/win-x86-commandline/v5.4.0/nuget.exe
2020-09-29T20:26:01.0698886Z (node:11288) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: connect ETIMEDOUT 152.199.4.184:443
2020-09-29T20:26:01.0858953Z ##[section]Finalisation : Artifactory NuGet restore
On Azure DevOps Server 2019 (or TFS) Prerequisite: Have blocked any communication with internet on Azure DevOps Server agent machine Have a .net solution configurer with nuget packages to be download during CI (build) Artifactory Nuget task version : 2.10.2 jfrog client version 1.38.2 Create a build definition Add Artifactory Nuget (restore) Add Visual Studio build solution task next to Artifactory Nuget Save and Queue this build Voilà, Artifactory task will be green (success) and Visual Studio build solution task will fail showing that no packages were found. Error message logs of Artifactory Nuget task (en français*) : 2020-09-29T20:25:39.5083267Z ## [section] Démarrage : Artifactory NuGet restore 2020-09-29T20:25:39.5091652Z ============================================================================== 2020-09-29T20:25:39.5092124Z Task : Artifactory Nuget 2020-09-29T20:25:39.5092399Z Description : Restore and push NuGet packages from and to Artifactory while allowing to collect build-info. The collected build-info can be later published to Artifactory by the "Artifactory Publish Build Info" task. 2020-09-29T20:25:39.5092679Z Version : 2.10.2 2020-09-29T20:25:39.5092959Z Author : JFrog 2020-09-29T20:25:39.5093173Z Help : [More Information] ( https://www.jfrog.com/confluence/display/RTF/NuGet+Repositories ) 2020-09-29T20:25:39.5093435Z ============================================================================== 2020-09-29T20:25:39.9642605Z Running jfrog-cli from D:\BuildsVnexAgents_toolsCache_jfrog\current\jfrog.exe. 2020-09-29T20:25:40.0078210Z JFrog CLI version: 1.38.2 2020-09-29T20:25:40.0242196Z NuGet not found in Path. Downloading... 2020-09-29T20:25:40.0304520Z Téléchargement : https://dist.nuget.org/win-x86-commandline/v5.4.0/nuget.exe 2020-09-29T20:26:01.0698886Z (node:11288) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: connect ETIMEDOUT 152.199.4.184:443 2020-09-29T20:26:01.0858953Z ## [section] Finalisation : Artifactory NuGet restore
-
Regression:Yes
Hi,
We are using Artifactory Nuget task for Azure DevOps Server 2019 and when Nuget.exe isn't found, the task succeeded and build goes on to the next tasks.
Task should failed when we get a timeout while downloading Nuget.exe from nuget.org.
I have a screenshot that shows the issue but I didn't find how to attach to this bug.
Thanks