From 3ea6d330a536aa46da7a913bdc4b64d2102ba5be Mon Sep 17 00:00:00 2001
From: Reiner Jung <reiner.jung@email.uni-kiel.de>
Date: Sun, 29 Nov 2020 13:12:38 +0100
Subject: [PATCH] Cleanups and minof fixes.

---
 Jenkinsfile                                | 4 ++--
 frameworks/Kieker/scripts/run-benchmark.sh | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index a9eed98..1bb2de9 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -51,10 +51,10 @@ pipeline {
     stage('Upload') {
        steps {
           sshagent(credentials: ['kieker-irl-key']) {
-             sh 'sftp -oNoHostAuthenticationForLocalhost=yes -oStrictHostKeyChecking=no -oUser=repo  -F /dev/null -i ${KEYSTORE} ${UPDATE_SITE_URL}'
-             sh '${BASE_DIR}/compile-results/bin/compile-results "${BASE_DIR}/results-kieker/results-text.csv" "${BASE_DIR}/all-results.json"'
              sh '''
                  cd ${BASE_DIR}
+	         sftp -oNoHostAuthenticationForLocalhost=yes -oStrictHostKeyChecking=no -oUser=repo -F /dev/null -i ${KEYSTORE} ${UPDATE_SITE_URL}'
+                 ${BASE_DIR}/compile-results/bin/compile-results "${BASE_DIR}/results-kieker/results-text.csv" all-results.json"'
                  echo "put all-results.json" | sftp -oNoHostAuthenticationForLocalhost=yes -oStrictHostKeyChecking=no -oUser=repo  -F /dev/null -i ${KEYSTORE} ${UPDATE_SITE_URL}
                 '''
           }
diff --git a/frameworks/Kieker/scripts/run-benchmark.sh b/frameworks/Kieker/scripts/run-benchmark.sh
index 41674dc..a060d74 100755
--- a/frameworks/Kieker/scripts/run-benchmark.sh
+++ b/frameworks/Kieker/scripts/run-benchmark.sh
@@ -61,6 +61,4 @@ ${BENCHMARK} # > /dev/null 2>&1
 HEAD=`head -1 $RESULT_FILE`
 VALUE=`tail -1 $RESULT_FILE`
 
-echo ${KEYSTORE}
-
 # end
-- 
GitLab