Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

"The "AreNuGetPackagesSafe" task failed unexpectedly": warn instead of fail #14

@EliezerBee

Description

@EliezerBee

We use SafeNuGet with Jenkins. Last night, as happens occasionally, the builds failed with these errors:

18:46:35 C:........\packages\SafeNuGet.1.0.10\build\SafeNuGet.targets(4,5): error MSB4018: The "AreNuGetPackagesSafe" task failed unexpectedly.
18:46:35 C:........\packages\SafeNuGet.1.0.10\build\SafeNuGet.targets(4,5): error MSB4018: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.

It would seem to me that if the updated SafeNuGet list just isn’t reachable for download that the build should succeed and the download can be retried afterwards. (Of course, if there were actually unsafe packages, it should certainly fail.) Might that be an option?

Thanks,
Eliezer

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