diff --git a/Jenkinsfile b/Jenkinsfile index 44e08116eb59b9d57a886149aedc1036d1125ea4..a9eed98d5c3201a9a22eee15d327583d1fd148c9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -53,7 +53,10 @@ pipeline { 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 'echo put all-results.json |sftp -oNoHostAuthenticationForLocalhost=yes -oStrictHostKeyChecking=no -oUser=repo -F /dev/null -i ${KEYSTORE} ${UPDATE_SITE_URL}/all-results.json' + sh ''' + cd ${BASE_DIR} + echo "put all-results.json" | sftp -oNoHostAuthenticationForLocalhost=yes -oStrictHostKeyChecking=no -oUser=repo -F /dev/null -i ${KEYSTORE} ${UPDATE_SITE_URL} + ''' } } post {