diff --git a/Jenkinsfile b/Jenkinsfile
index 7c1ed13f8a1d051ae54b35997f5a458b7cec7a92..aa8ed2d23118db55518effebe89fb4c552ca206b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -50,9 +50,11 @@ pipeline {
     
     stage('Upload') {
        agent { label 'build-node4' }
-       sshagent(credentials: ['kieker-irl-key']) {
-          sh 'sftp -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"'
+       steps {
+          sshagent(credentials: ['kieker-irl-key']) {
+             sh 'sftp -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"'
+          }
        }
        post {
          cleanup {