From 066044ff884459a54b37e53f4960a30080a417e0 Mon Sep 17 00:00:00 2001
From: Martin Hierholzer <martin.hierholzer@desy.de>
Date: Thu, 8 Nov 2018 13:54:30 +0100
Subject: [PATCH] fixed putting the dependency list into the wrong directory

---
 vars/buildDoocsTargetConfig.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/buildDoocsTargetConfig.groovy b/vars/buildDoocsTargetConfig.groovy
index 08e24c1..7b6418c 100644
--- a/vars/buildDoocsTargetConfig.groovy
+++ b/vars/buildDoocsTargetConfig.groovy
@@ -59,10 +59,10 @@ def transformIntoStep(String buildName) {
               sudo -u msk_jenkins git clone http://doocs-git.desy.de/cgit/doocs/\${DOOCSARCH}.git
               cd \${DOOCSARCH}
               sed -i CONFIG -e 's|^EPICS[[:space:]]*=.*\$|EPICS = '/export/epics'|'
-              echo "DOOCS_epics" > /export/dependencies.${JOB_NAME}.list
+              echo "DOOCS_epics" > /scratch/dependencies.${JOB_NAME}.list
             """
             sh """
-              sudo -u msk_jenkins tar zcf install-${JOB_NAME}-${label}-${buildType}.tgz /export
+              sudo -u msk_jenkins tar zcf install-${JOB_NAME}-${label}-${buildType}.tgz /export /scratch
             """
             archiveArtifacts artifacts: "install-${JOB_NAME}-${label}-${buildType}.tgz", onlyIfSuccessful: false
           }
-- 
GitLab