C
C#2y ago
moritz

Jenkins unable to build CSharp project [Answered]

any ideas why that might be?
24 Replies
moritz
moritz2y ago
the command executed is dotnet publish . -c Release -a x64 --os win -p:PublishSingleFile=true
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
moritz
moritz2y ago
the same docker container did download the entire sdk a few seconds earlier
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
moritz
moritz2y ago
seems weird, i can wget the url from the same container now it works (i changed nothing)
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
moritz
moritz2y ago
i added it in case it happens again but i cant reproduce it now
moritz
moritz2y ago
@tebeco it happened again, now the full log with -v:d
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
moritz
moritz2y ago
I hope pastebin works then :) https://pastebin.com/ZZ2G59am
Pastebin
Started by user AdminLooking up repository IT/TestProjectQuerying t...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
moritz
moritz2y ago
yeah, i don't have that file. Am I supposed to? also no idea what you mean with clear
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
moritz
moritz2y ago
now it happens for every build i try. not sure what caused it to come back, i think it was because i restarted everything
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
moritz
moritz2y ago
problem is that they don't have curl installed
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
moritz
moritz2y ago
not preinstalled either. last time i installed wget manually and pinged it via shell. that fixed it for the time being. that would be beyond the definition of hacky xD
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
moritz
moritz2y ago
it's so weird especially because the sdk got downloaded seconds before
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
moritz
moritz2y ago
yeah the pipeline did download it from the microsoft servers reinstalled everything on a new linux server, and now it works - hopefully it remains like that
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord2y ago
✅ This post has been marked as answered!