Jenkinsfile: Reuse SSH credentials through SSH agent (hopefully).

This commit is contained in:
/dev/urandom 2016-09-13 00:40:34 +02:00
parent cb8087771b
commit 2ed39f714a
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

3
Jenkinsfile vendored
View File

@ -56,6 +56,7 @@ def perConfiguration(suffix, f) {
// We need a Windows Server with Visual Studio 2015, Premake5 and Git on it. // We need a Windows Server with Visual Studio 2015, Premake5 and Git on it.
def doBuild(premakeFlags, configuration) { def doBuild(premakeFlags, configuration) {
node("windows") { node("windows") {
sshagent (credentials: ["ba9ec261-deff-4fa0-a0e8-5d755f88d035"]) {
checkout scm checkout scm
premakeHome = "${pwd()}\\src\\tools" premakeHome = "${pwd()}\\src\\tools"
@ -71,6 +72,8 @@ def doBuild(premakeFlags, configuration) {
archiveArtifacts artifacts: "*", fingerprint: true archiveArtifacts artifacts: "*", fingerprint: true
stash name: "iw4x $configuration", includes: "*" stash name: "iw4x $configuration", includes: "*"
} }
}
} }
// For each available configuration generate a normal build and a unit test build. // For each available configuration generate a normal build and a unit test build.