From cf0af8ea59071426bacac76a75d785e93524e226 Mon Sep 17 00:00:00 2001
From: Martin Hierholzer <martin.hierholzer@desy.de>
Date: Mon, 3 Dec 2018 10:54:37 +0100
Subject: [PATCH] Update helper.groovy

---
 vars/helper.groovy | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/vars/helper.groovy b/vars/helper.groovy
index 4b78316..1d30b74 100644
--- a/vars/helper.groovy
+++ b/vars/helper.groovy
@@ -48,6 +48,9 @@ def doAnalysis(ArrayList<String> dependencyList, String label, String buildType)
 def doPrepare(boolean checkoutScm, String gitUrl='') {
   
   // clean workspace
+  sh '''
+    chown -R msk_jenkins .
+  '''
   deleteDir()
   
   // Make sure, /var/run/lock/mtcadummy is writeable by msk_jenkins.
-- 
GitLab