Jenkinsfile: Remove SSH agent as credentials have been fixed with recent Jenkins Git plugin version.
This commit is contained in:
parent
2293fda5f2
commit
8a18c12887
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user