2017-05-09 20:43:46 +01:00
|
|
|
node ( 'vs2017' )
|
|
|
|
{
|
2017-03-16 12:32:00 +00:00
|
|
|
stage 'Checkout'
|
|
|
|
checkout scm
|
|
|
|
|
2017-04-05 17:08:39 +01:00
|
|
|
stage 'Restore'
|
2019-06-25 13:12:17 +01:00
|
|
|
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"
|
2017-04-05 17:08:39 +01:00
|
|
|
|
|
|
|
stage 'Build Release'
|
2019-06-25 13:12:17 +01:00
|
|
|
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"
|
2017-04-05 17:08:39 +01:00
|
|
|
|
|
|
|
stage 'Build Debug'
|
2019-06-25 13:12:17 +01:00
|
|
|
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"
|
2017-03-16 12:32:00 +00:00
|
|
|
|
|
|
|
stage 'Archive'
|
2017-03-16 13:17:02 +00:00
|
|
|
archiveArtifacts artifacts: 'Facepunch.Steamworks/bin/**/*'
|
2019-06-25 13:12:17 +01:00
|
|
|
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Win32.dll UnityPlugin\\" )
|
|
|
|
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Win32.pdb UnityPlugin\\" )
|
|
|
|
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.Win32.xml UnityPlugin\\" )
|
|
|
|
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\\" )
|
2019-04-30 17:11:45 +01:00
|
|
|
archiveArtifacts artifacts: 'UnityPlugin/**/*'
|
2019-06-25 13:39:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
post
|
|
|
|
always
|
|
|
|
cleanWs()
|
2017-03-16 12:32:00 +00:00
|
|
|
}
|