Build server fix

This commit is contained in:
Garry Newman 2020-02-22 21:47:30 +00:00
parent e3ac585144
commit 4108895749
2 changed files with 7 additions and 14 deletions

View File

@ -1,5 +1,4 @@
cd Facepunch.Steamworks
dotnet restore .\Facepunch.Steamworks.Posix32.csproj
dotnet restore .\Facepunch.Steamworks.Posix64.csproj
dotnet restore .\Facepunch.Steamworks.Posix.csproj
dotnet restore .\Facepunch.Steamworks.Win32.csproj
dotnet restore .\Facepunch.Steamworks.Win64.csproj

18
Jenkinsfile vendored
View File

@ -8,20 +8,17 @@ node ( 'vs2017' )
stage 'Restore'
bat "dotnet restore Facepunch.Steamworks/Facepunch.Steamworks.Win32.csproj"
bat "dotnet restore Facepunch.Steamworks/Facepunch.Steamworks.Win64.csproj"
bat "dotnet restore Facepunch.Steamworks/Facepunch.Steamworks.Posix32.csproj"
bat "dotnet restore Facepunch.Steamworks/Facepunch.Steamworks.Posix64.csproj"
bat "dotnet restore Facepunch.Steamworks/Facepunch.Steamworks.Posix.csproj"
stage 'Build Release'
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.Win32.csproj --configuration Release"
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.Win64.csproj --configuration Release"
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.Posix32.csproj --configuration Release"
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.Posix64.csproj --configuration Release"
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.Posix.csproj --configuration Release"
stage 'Build Debug'
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.Win32.csproj --configuration Debug"
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.Win64.csproj --configuration Debug"
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.Posix32.csproj --configuration Debug"
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.Posix64.csproj --configuration Debug"
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.Posix.csproj --configuration Debug"
stage 'Archive'
archiveArtifacts artifacts: 'Facepunch.Steamworks/bin/**/*'
@ -31,12 +28,9 @@ node ( 'vs2017' )
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Win64.dll UnityPlugin\\" )
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Win64.pdb UnityPlugin\\" )
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Win64.xml UnityPlugin\\" )
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Posix32.dll UnityPlugin\\" )
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Posix32.pdb UnityPlugin\\" )
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Posix32.xml UnityPlugin\\" )
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Posix64.dll UnityPlugin\\" )
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Posix64.pdb UnityPlugin\\" )
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Posix64.xml UnityPlugin\\" )
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Posix.dll UnityPlugin\\" )
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Posix.pdb UnityPlugin\\" )
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Posix.xml UnityPlugin\\" )
archiveArtifacts artifacts: 'UnityPlugin/**/*'
}
finally