diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe8fa15a..02c09ff3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,13 +25,12 @@ variables: if (! [String]::IsNullOrWhiteSpace($hasSource)) { dotnet nuget remove source 'Microsoft Visual Studio Offline Packages' } - $hasSource = dotnet nuget list source | Select-String -Pattern "nuget.org" - if (! [String]::IsNullOrWhiteSpace($hasSource)) { - dotnet nuget remove source nuget.org - } + echo "Situazione sorgenti post remove:" + dotnet nuget list source dotnet nuget add source https://nexus.steamware.net/repository/nuget-proxy-v3/index.json -n nexus-proxy-v3 -u nugetUser -p $NEXUS_PASSWD --store-password-in-clear-text + dotnet nuget add source https://nexus.steamware.net/repository/nuget-hosted/ -n nexus-proxy-v3 -u nugetUser -p $NEXUS_PASSWD --store-password-in-clear-text $hasSource = dotnet nuget list source - echo "Situazione sorgenti nuget:" + echo "Situazione sorgenti FINALE:" dotnet nuget list source # helper creazione hash files x IIS