Forced MSBuild too much
This commit is contained in:
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@@ -1,4 +1,4 @@
|
||||
def packageAndArchive(buildMode, packageName, exclude) {
|
||||
def packageAndArchive(buildMode, packageName) {
|
||||
zipFile = "bin\\${packageName}.zip"
|
||||
packageDir = "bin\\${packageName}\\"
|
||||
|
||||
@@ -8,12 +8,9 @@ def packageAndArchive(buildMode, packageName, exclude) {
|
||||
bat "xcopy bin\\x64\\${buildMode} ${packageDir}"
|
||||
|
||||
bat "del ${packageDir}VRage.*"
|
||||
bat "del ${packageDir}Sandbox.*"
|
||||
bat "del ${packageDir}SpaceEngineers.*"
|
||||
bat "del ${packageDir}Sandbox.*"
|
||||
bat "del ${packageDir}SpaceEngineers.*"
|
||||
|
||||
if (exclude.length() > 0) {
|
||||
bat "del ${packageDir}${exclude}"
|
||||
}
|
||||
powershell "Add-Type -Assembly System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::CreateFromDirectory(\"\$PWD\\${packageDir}\", \"\$PWD\\${zipFile}\")"
|
||||
archiveArtifacts artifacts: zipFile, caseSensitive: false, onlyIfSuccessful: true
|
||||
}
|
||||
@@ -51,7 +48,7 @@ node {
|
||||
stage('Archive') {
|
||||
archiveArtifacts artifacts: "bin/x64/${buildMode}/Torch*", caseSensitive: false, fingerprint: true, onlyIfSuccessful: true
|
||||
|
||||
packageAndArchive(buildMode, "torch-server", "System*")
|
||||
packageAndArchive(buildMode, "torch-server")
|
||||
|
||||
/*packageAndArchive(buildMode, "torch-client", "Torch.Server*")*/
|
||||
}
|
||||
|
Reference in New Issue
Block a user