Debug Jenkins failure

This commit is contained in:
Ed
2024-04-17 16:24:07 +01:00
parent b15eb3a329
commit c960d82233
2 changed files with 6 additions and 0 deletions

2
Jenkinsfile vendored
View File

@@ -39,6 +39,8 @@ pipeline {
}
}
}
// Temp debug
archiveArtifacts artifacts: "${REPO}/**/*.pdf", fingerprint: true, allowEmptyArchive: true
}
}
stage('Unity tests') {

View File

@@ -18,6 +18,10 @@ MAX_CYCLES = 15000000
@pytest.mark.parametrize("config", MIDI_TEST_CONFIGS)
def test_tx(capfd, config, build_midi):
with open("dir.txt", "wt") as db:
import subprocess, shutil
output = subprocess.run("tree", capture_output=True, text=True)
# Need tempdir as we use the same config files and this causes issues when using xdist
with tempdir() as tmpdirname:
copy_tree(build_midi, tmpdirname)