Facepunch.Steamworks/Jenkinsfile

39 lines
2.7 KiB
Plaintext
Raw Normal View History

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'
2019-06-25 15:12:17 +03: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 19:08:39 +03:00
stage 'Build Release'
2019-06-25 15:12:17 +03: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 19:08:39 +03:00
stage 'Build Debug'
2019-06-25 15:12:17 +03: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 15:32:00 +03:00
stage 'Archive'
2017-03-16 16:17:02 +03:00
archiveArtifacts artifacts: 'Facepunch.Steamworks/bin/**/*'
2019-06-25 15:12:17 +03: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 19:11:45 +03:00
archiveArtifacts artifacts: 'UnityPlugin/**/*'
2017-03-16 15:32:00 +03:00
}