Commit 48769483 authored by Raphael Defosseux's avatar Raphael Defosseux

archive the copied artifact

Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent f275e130
Pipeline #10242 passed with stage
in 0 seconds
......@@ -102,7 +102,12 @@ pipeline {
}
post {
always {
copyArtifacts(projectName: 'CI-Sandbox4-slave', filter: "test-result*.txt", selector: specific("${slaveJobStatus.number}"))
script {
copyArtifacts(projectName: 'CI-Sandbox4-slave', filter: "test-result*.txt", selector: specific("${slaveJobStatus.number}"))
if (fileExists('test-result*.txt')) {
archiveArtifacts artifacts: 'test-result*.txt'
}
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment