From fab24796ab807da301d0c85a78fa330a163fa77c Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Wed, 5 Apr 2017 17:08:39 +0100 Subject: [PATCH] Updated Jenkinsfile --- Jenkinsfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e20ce68..fd015f6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,10 +2,20 @@ node { stage 'Checkout' checkout scm - stage 'Build' + stage 'Restore' bat 'nuget restore Facepunch.Steamworks.sln' + + stage 'Build Release' bat "\"${tool 'MSBuild'}\" Facepunch.Steamworks/Facepunch.Steamworks.csproj /p:Configuration=Release /p:ProductVersion=1.0.0.${env.BUILD_NUMBER}" + + stage 'Build Debug' bat "\"${tool 'MSBuild'}\" Facepunch.Steamworks/Facepunch.Steamworks.csproj /p:Configuration=Debug /p:ProductVersion=1.0.0.${env.BUILD_NUMBER}" + + stage 'Build Release NetCore' + bat "\"${tool 'MSBuild'}\" Facepunch.Steamworks/Facepunch.Steamworks.NetCore.csproj /p:Configuration=Release /p:ProductVersion=1.0.0.${env.BUILD_NUMBER}" + + stage 'Build Debug NetCore' + bat "\"${tool 'MSBuild'}\" Facepunch.Steamworks/Facepunch.Steamworks.NetCore.csproj /p:Configuration=Debug /p:ProductVersion=1.0.0.${env.BUILD_NUMBER}" stage 'Archive' archiveArtifacts artifacts: 'Facepunch.Steamworks/bin/**/*'