私は小さなドットネットコアアプリケーションを持っており、ジェンキンズでビルドしたいと考えています。 これを実現するために、ビルドスレーブ上にdotnet coreをインストールしました。ビルドサーバでDotnetの復元に失敗しました
ローカル私はインクルードを1つのパッケージで失敗した復元(でも私のMacで)successfuly同じコマンドを使用して構築サーバー上
dotnet restore --configfile .nuget/NuGet.Config
を復元することができます。
Started by user jenkins
Building remotely on 2c3bff31e594 in workspace /root/workspace/Test
Cloning the remote Git repository
...
+ dotnet restore --configfile .nuget/NuGet.Config
Welcome to .NET Core!
---------------------
...
log : Installing System.Runtime 4.1.0-rc2-24027.
log : Installing System.Diagnostics.Tools 4.0.1-rc2-24027.
log : Installing System.Reflection.Extensions 4.0.1-rc2-24027.
...
log : Restoring packages for /root/workspace/Test/test/Test.DataAccess.Tests/project.json...
log : Failed to download package from 'https://api.nuget.org/v3-flatcontainer/remotion.linq/2.1.1/remotion.linq.2.1.1.nupkg'.
log : Response status code does not indicate success: 404 (Not Found).
ここで奇妙なことは、私は、ログからURLに 「https://api.nuget.org/v3-flatcontainer/remotion.linq/2.1.1/remotion.linq.2.1.1.nupkg」リンクをヒットした場合、パッケージはそのあること、です。