More descriptive stages

This commit is contained in:
Westin Miller
2017-08-19 21:17:58 -07:00
parent 0686e95c72
commit afc10911f7

31
Jenkinsfile vendored
View File

@@ -1,14 +1,25 @@
node {
stage 'Checkout'
checkout scm
stages {
stage('Checkout') {
checkout scm
}
stage 'Build'
bat 'powershell -File jenkins-grab-se.ps1'
bat 'rmdir GameBinaries'
bat 'mklink /J GameBinaries "C:/Steam/Data/DedicatedServer64/"'
bat 'nuget restore Torch.sln'
bat "\"${tool 'MSBuild'}\" Torch.sln /p:Configuration=Release /p:Platform=x64"
stage('Acquire SE') {
bat 'powershell -File jenkins-grab-se.ps1'
bat 'rmdir GameBinaries'
bat 'mklink /J GameBinaries "C:/Steam/Data/DedicatedServer64/"'
}
stage('Acquire NuGet Packages') {
bat 'nuget restore Torch.sln'
}
state 'Archive'
archive 'bin/x64/Release/Torch.*'
stage('Build') {
bat "\"${tool 'MSBuild'}\" Torch.sln /p:Configuration=Release /p:Platform=x64"
}
state('Archive') {
archive 'bin/x64/Release/Torch.*'
}
}
}