Jenkinsfile: Reuse SSH credentials through SSH agent (hopefully).
This commit is contained in:
parent
cb8087771b
commit
2ed39f714a
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user