2017-05-09 22:43:46 +03:00
|
|
|
node ( 'vs2017' )
|
|
|
|
{
|
2017-03-16 15:32:00 +03:00
|
|
|
stage 'Checkout'
|
|
|
|
checkout scm
|
|
|
|
|
2017-04-05 19:08:39 +03:00
|
|
|
stage 'Restore'
|
2017-08-31 01:10:55 +03:00
|
|
|
bat "dotnet restore Facepunch.Steamworks/Facepunch.Steamworks.csproj"
|
2017-04-05 19:08:39 +03:00
|
|
|
|
|
|
|
stage 'Build Release'
|
2017-08-31 01:10:55 +03:00
|
|
|
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.csproj --configuration Release"
|
2017-04-05 19:08:39 +03:00
|
|
|
|
|
|
|
stage 'Build Debug'
|
2017-08-31 01:10:55 +03:00
|
|
|
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.csproj --configuration Debug"
|
2017-03-16 15:32:00 +03:00
|
|
|
|
|
|
|
stage 'Archive'
|
2017-03-16 16:17:02 +03:00
|
|
|
archiveArtifacts artifacts: 'Facepunch.Steamworks/bin/**/*'
|
2019-04-30 19:10:06 +03:00
|
|
|
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.dll UnityPlugin\\" )
|
|
|
|
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.pdb UnityPlugin\\" )
|
|
|
|
bat( "copy /Y Facepunch.Steamworks\\bin\\Debug\\netstandard2.0\\Facepunch.Steamworks.xml UnityPlugin\\" )
|
2019-04-30 19:11:45 +03:00
|
|
|
archiveArtifacts artifacts: 'UnityPlugin/**/*'
|
2017-03-16 15:32:00 +03:00
|
|
|
}
|