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