Jenkinsfile: Remove SSH agent as credentials have been fixed with recent Jenkins Git plugin version.

This commit is contained in:
/dev/urandom 2016-09-13 01:50:26 +02:00
parent 2293fda5f2
commit 8a18c12887
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

19
Jenkinsfile vendored
View File

@ -58,21 +58,18 @@ def perConfiguration(suffix, f) {
// We need a Windows Server with Visual Studio 2015, Premake5 and Git on it.
def doBuild(premakeFlags, configuration) {
node("windows") {
sshagent (credentials: ["ba9ec261-deff-4fa0-a0e8-5d755f88d035"]) {
checkout scm
checkout scm
premakeHome = "${pwd()}\\tools"
premakeHome = "${pwd()}\\tools"
withEnv(["PATH+=${premakeHome}"]) {
def outputDir = pwd()
bat "premake5 vs2015 $premakeFlags"
bat "\"${tool 'MSBuild'}\" src\\build\\iw4x.sln \"/p:OutDir=$outputDir\\\" \"/p:Configuration=$configuration\""
}
archiveArtifacts artifacts: "*.dll,*.pdb", fingerprint: true
stash name: "iw4x $configuration", includes: "*.dll,*.pdb"
withEnv(["PATH+=${premakeHome}"]) {
def outputDir = pwd()
bat "premake5 vs2015 $premakeFlags"
bat "\"${tool 'MSBuild'}\" src\\build\\iw4x.sln \"/p:OutDir=$outputDir\\\" \"/p:Configuration=$configuration\""
}
archiveArtifacts artifacts: "*.dll,*.pdb", fingerprint: true
stash name: "iw4x $configuration", includes: "*.dll,*.pdb"
}
}