From 39a1d4ac90160da7cdd8e21e1168bd87bc59361e Mon Sep 17 00:00:00 2001 From: "Koenig, Joerg" Date: Fri, 24 Apr 2020 14:56:26 +0200 Subject: Removed try ... catch in mingw part of jenkins script Change-Id: Ifc2938dd76847ce7d5524c1ff52e4f4f80de3247 --- Jenkinsfile | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 67cd46b..49c1f8a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -46,7 +46,6 @@ stage('Build') { }, windows: { node('bslp05-win10-64') { - try { deleteDir() checkout([$class: 'GitSCM', branches: [[name: BRANCH]], @@ -108,16 +107,14 @@ stage('Build') { buildqt64.bat ''' } + stage ("Cleanup") { + sh '''#!/bin/bash + set -x + #rm -Rf /c/tmp/qt + #rm -Rf $(cygpath $WORKSPACE)/openssl-1.0.2r + ''' + } stash name: "qtwin", includes: "qt-*-msvc.zip,*qt-*-x86-mingw64.tgz,qtcreator-*-x86-mingw64.zip" - } catch (e) { - echo 'Windows build failed' - } finally { - sh ''' - export PATH=/c/msys/x86/usr/bin - rm -Rf $(cygpath $WORKSPACE)/openssl-1.0.2r - exit 1 - ''' - } } } } -- cgit v0.12