File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ param ([string ]$previewPass )
2+
13pushd
24
3- $steamData = " C:/Steam/Data/"
5+ $steamData = " C:/Steam/Data-preview /"
46$steamCMDPath = " C:/Steam/steamcmd/"
57$steamCMDZip = " C:/Steam/steamcmd.zip"
68
@@ -17,6 +19,6 @@ if (!(Test-Path $steamCMDPath)) {
1719}
1820
1921cd " $steamData "
20- & " $steamCMDPath /steamcmd.exe" " +login anonymous" " +force_install_dir $steamData " " +app_update 298740" " +quit"
22+ & " $steamCMDPath /steamcmd.exe" " +login anonymous" " +force_install_dir $steamData " " +app_update 298740 -beta steamctg -betapassword $previewPass validate " " +quit"
2123
22- popd
24+ popd
Original file line number Diff line number Diff line change @@ -48,21 +48,23 @@ node {
4848 }
4949
5050 stage(' Acquire SE' ) {
51- bat ' powershell -File Jenkins/jenkins-grab-se.ps1'
51+ withCredentials([string(credentialsId : ' previewSecretPass' , variable : ' previewPass' )]) {
52+ powershell " & Jenkins/jenkins-grab-se.ps1 $previewPass "
53+ }
5254 bat ' IF EXIST GameBinaries RMDIR GameBinaries'
53- bat ' mklink /J GameBinaries "C:/Steam/Data/DedicatedServer64/"'
55+ bat ' mklink /J GameBinaries "C:/Steam/Data-preview /DedicatedServer64/"'
5456 }
5557
5658 stage(' Acquire NuGet Packages' ) {
5759 bat ' nuget restore Essentials.sln'
5860 }
5961
60- if (env. BRANCH_NAME == " Patron " ) {
62+ if (env. BRANCH_NAME == " master " ) {
6163 buildMode = " Release"
6264 } else {
6365 buildMode = " Debug"
6466 }
65- result = test_with_torch(" Patron " )
67+ result = test_with_torch(" survival " )
6668 if (result) {
6769 currentBuild. result = " SUCCESS"
6870 stage(' Archive' ) {
You can’t perform that action at this time.
0 commit comments