Jenkinsfile

This commit is contained in:
Garry Newman 2017-03-16 12:32:00 +00:00
parent 2c343d27b1
commit 8d2ccf0538

14
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,14 @@
node {
stage 'Checkout'
checkout scm
stage 'Build'
bat 'nuget restore Facepunch.Steamworks.sln'
bat "\"${tool 'MSBuild'}\" Facepunch.Steamworks/Facepunch.Steamworks.csproj /p:Configuration=Release /p:ProductVersion=1.0.0.${env.BUILD_NUMBER}"
bat "\"${tool 'MSBuild'}\" Facepunch.Steamworks/Facepunch.Steamworks.csproj /p:Configuration=Debug /p:ProductVersion=1.0.0.${env.BUILD_NUMBER}"
stage 'Archive'
archiveArtifacts Release: 'Facepunch.Steamworks/bin/Release/**'
archiveArtifacts Debug: 'Facepunch.Steamworks/bin/Debug/**'
}