mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-27 23:25:55 +03:00
21 lines
833 B
Groovy
21 lines
833 B
Groovy
node ( 'vs2017' )
|
|
{
|
|
stage 'Checkout'
|
|
checkout scm
|
|
|
|
stage 'Restore'
|
|
bat "dotnet restore Facepunch.Steamworks/Facepunch.Steamworks.csproj"
|
|
|
|
stage 'Build Release'
|
|
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.csproj --configuration Release"
|
|
|
|
stage 'Build Debug'
|
|
bat "dotnet build Facepunch.Steamworks/Facepunch.Steamworks.csproj --configuration Debug"
|
|
|
|
stage 'Archive'
|
|
archiveArtifacts artifacts: 'Facepunch.Steamworks/bin/**/*'
|
|
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\\" )
|
|
archiveArtifacts artifacts: 'UnityPlugin/**/*'
|
|
} |