From: Holger Levsen Date: Sun, 18 Sep 2011 14:22:34 +0000 (+0200) Subject: dont remove workspace, for debugging X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=da3c220f7bed5e3a3655b2ac577d2b9f0b6d2547;p=profitbricks%2Fjenkins-build-scripts.git dont remove workspace, for debugging --- diff --git a/kernel_build.py b/kernel_build.py index 2a581c7..db2c651 100644 --- a/kernel_build.py +++ b/kernel_build.py @@ -172,7 +172,8 @@ def remove_git_target_workspace(): rmpath = '/tmp/%s-build%s' %(BUILD_ID, BUILD_NUMBER) if os.path.isdir(rmpath): try: - shutil.rmtree(rmpath) + pass + #shutil.rmtree(rmpath) except IOError, error: logger.debug('Got exception with error code: %s', error.errno) if error.errno == 2: