Reconfigure jenkins data

This commit is contained in:
Brant Martin
2019-02-25 15:38:02 -05:00
parent 8dc542a31c
commit 53c279fa00
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
pushd pushd
$steamData = "C:/Steam/Data-playtest/" $steamData = "C:/Steam/Data-preview/"
$steamCMDPath = "C:/Steam/steamcmd/" $steamCMDPath = "C:/Steam/steamcmd/"
$steamCMDZip = "C:/Steam/steamcmd.zip" $steamCMDZip = "C:/Steam/steamcmd.zip"
@@ -17,6 +17,6 @@ if (!(Test-Path $steamCMDPath)) {
} }
cd "$steamData" cd "$steamData"
& "$steamCMDPath/steamcmd.exe" "+login anonymous" "+force_install_dir $steamData" "+app_update 298740 -beta playtest -betapassword nt8WuDw9kdvE validate" "+quit" & "$steamCMDPath/steamcmd.exe" "+login anonymous" "+force_install_dir $steamData" "+app_update 298740 -beta playtest -betapassword $previewSecretPass validate" "+quit"
popd popd

4
Jenkinsfile vendored
View File

@@ -22,7 +22,7 @@ node {
stage('Acquire SE') { stage('Acquire SE') {
bat 'powershell -File Jenkins/jenkins-grab-se.ps1' bat 'powershell -File Jenkins/jenkins-grab-se.ps1'
bat 'IF EXIST GameBinaries RMDIR GameBinaries' bat 'IF EXIST GameBinaries RMDIR GameBinaries'
bat 'mklink /J GameBinaries "C:/Steam/Data-playtest/DedicatedServer64/"' bat 'mklink /J GameBinaries "C:/Steam/Data-preview/DedicatedServer64/"'
} }
stage('Acquire NuGet Packages') { stage('Acquire NuGet Packages') {
@@ -31,7 +31,7 @@ node {
stage('Build') { stage('Build') {
currentBuild.description = bat(returnStdout: true, script: '@powershell -File Versioning/version.ps1').trim() currentBuild.description = bat(returnStdout: true, script: '@powershell -File Versioning/version.ps1').trim()
if (env.BRANCH_NAME == "Patron") { if (env.BRANCH_NAME == "master") {
buildMode = "Release" buildMode = "Release"
} else { } else {
buildMode = "Debug" buildMode = "Debug"