Skip to content
Snippets Groups Projects
Commit 57d8309b authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

fix(reporter): insufficient cleanup before unpacking

This could result in logfiles being used from previous runs
parent f10c483b
No related branches found
No related tags found
No related merge requests found
......@@ -67,8 +67,10 @@ def generateReport(String name, String label, String buildType) {
script {
// extract artefact
sh """
pwd
rm -rf *
PWD=`pwd`
rm -rf "\${PWD}"
mkdir "\${PWD}"
cd "\${PWD}"
tar xf "${dragon_builds.getArtefactsDir()}/${label}/${buildType}/${name}.tar.gz"
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment