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'
|
2017-08-30 23:10:55 +01:00
|
|
|
bat "dotnet restore Facepunch.Steamworks/Facepunch.Steamworks.csproj"
|
2017-04-05 17:08:39 +01:00
|
|
|
|
|
|
|
stage 'Build Release'
|
2017-08-30 23:10:55 +01:00
|
|
|
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.csproj --configuration Release"
|
2017-04-05 17:08:39 +01:00
|
|
|
|
|
|
|
stage 'Build Debug'
|
2017-08-30 23:10:55 +01:00
|
|
|
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.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-04-30 17:10:06 +01: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 17:11:45 +01:00
|
|
|
archiveArtifacts artifacts: 'UnityPlugin/**/*'
|
2017-03-16 12:32:00 +00:00
|
|
|
}
|