Facepunch.Steamworks/Jenkinsfile

21 lines
832 B
Plaintext
Raw Normal View History

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:03:14 +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 16:55:46 +01:00
archiveArtifacts unityplugin: 'UnityPlugin/**/*'
2017-03-16 12:32:00 +00:00
}