From 7d08e9f604ab9fd86eda5727711d257b21d2aced Mon Sep 17 00:00:00 2001
From: Boris Baldassari <boris@chrysalice.org>
Date: Sun, 20 Dec 2020 10:44:29 +0100
Subject: [PATCH] #5 Fix jenkins file get for list_mboxes.

Signed-off-by: Boris Baldassari <boris@chrysalice.org>
---
 JenkinsfileGet | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/JenkinsfileGet b/JenkinsfileGet
index d6446e7..db59448 100644
--- a/JenkinsfileGet
+++ b/JenkinsfileGet
@@ -15,15 +15,15 @@ pipeline {
     stage('Build mboxes') {
       steps {
         sh '''
-          rm /data/eclipse_mls/*.mbox.lock || echo "No mbox lock found."
-          rsync -avlp -e ssh --rsh="/usr/bin/sshpass -p ${SYS_RSYNC_PASSWD} ssh -o StrictHostKeyChecking=no -l bbaldassari2kd" build.eclipse.org:/opt/public/download-staging.priv/scava/ /data/eclipse_mls/ || echo "Rsync had issues. But the show must go on, right?"
-          chmod 777 /data/eclipse_mls/*
+#          rm /data/eclipse_mls/*.mbox.lock || echo "No mbox lock found."
+#          rsync -avlp -e ssh --rsh="/usr/bin/sshpass -p ${SYS_RSYNC_PASSWD} ssh -o StrictHostKeyChecking=no -l bbaldassari2kd" build.eclipse.org:/opt/public/download-staging.priv/scava/ /data/eclipse_mls/ || echo "Rsync had issues. But the show must go on, right?"
+#          chmod 777 /data/eclipse_mls/*
           source ~/perl5/perlbrew/etc/bashrc 
           perlbrew switch perl-5.30.1
           perl -v 
           Rscript --version
           cd scripts/ && sh ./process_mboxes.sh
-          ls /data/eclipse_mls/ > datasets/eclipse_mls/list_mboxes.txt
+          ls /data/eclipse_mls/ > ../datasets/eclipse_mls/list_mboxes.txt
         ''' 
       }
     }
-- 
GitLab