More descriptive stages
This commit is contained in:
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
@@ -1,14 +1,25 @@
|
|||||||
node {
|
node {
|
||||||
stage 'Checkout'
|
stages {
|
||||||
|
stage('Checkout') {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
}
|
||||||
|
|
||||||
stage 'Build'
|
stage('Acquire SE') {
|
||||||
bat 'powershell -File jenkins-grab-se.ps1'
|
bat 'powershell -File jenkins-grab-se.ps1'
|
||||||
bat 'rmdir GameBinaries'
|
bat 'rmdir GameBinaries'
|
||||||
bat 'mklink /J GameBinaries "C:/Steam/Data/DedicatedServer64/"'
|
bat 'mklink /J GameBinaries "C:/Steam/Data/DedicatedServer64/"'
|
||||||
bat 'nuget restore Torch.sln'
|
}
|
||||||
bat "\"${tool 'MSBuild'}\" Torch.sln /p:Configuration=Release /p:Platform=x64"
|
|
||||||
|
|
||||||
state 'Archive'
|
stage('Acquire NuGet Packages') {
|
||||||
|
bat 'nuget restore Torch.sln'
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Build') {
|
||||||
|
bat "\"${tool 'MSBuild'}\" Torch.sln /p:Configuration=Release /p:Platform=x64"
|
||||||
|
}
|
||||||
|
|
||||||
|
state('Archive') {
|
||||||
archive 'bin/x64/Release/Torch.*'
|
archive 'bin/x64/Release/Torch.*'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user