mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +03:00
Updated Jenkinsfile
This commit is contained in:
parent
a956a1005c
commit
fab24796ab
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -2,10 +2,20 @@ node {
|
|||||||
stage 'Checkout'
|
stage 'Checkout'
|
||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
stage 'Build'
|
stage 'Restore'
|
||||||
bat 'nuget restore Facepunch.Steamworks.sln'
|
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}"
|
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}"
|
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'
|
stage 'Archive'
|
||||||
archiveArtifacts artifacts: 'Facepunch.Steamworks/bin/**/*'
|
archiveArtifacts artifacts: 'Facepunch.Steamworks/bin/**/*'
|
||||||
|
Loading…
Reference in New Issue
Block a user