From 8a18c1288785d38caec25b26dfea8f465c932547 Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Tue, 13 Sep 2016 01:50:26 +0200 Subject: [PATCH] Jenkinsfile: Remove SSH agent as credentials have been fixed with recent Jenkins Git plugin version. --- Jenkinsfile | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4c7aa6e1..bc4ddffd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" } }