Commit dbd600c5 authored by Raymond Knopp's avatar Raymond Knopp

Merge remote-tracking branch 'origin/develop' into 340-fix-beamforming-for-multiple-antenna

parents bd3fc60a bd5b3b1e
...@@ -286,7 +286,8 @@ pipeline { ...@@ -286,7 +286,8 @@ pipeline {
} }
} }
post { post {
always { // In case of success we really pick the report from the exact slave build number
success {
script { script {
copyArtifacts(projectName: 'eNB-CI-FDD-Band7-B210', copyArtifacts(projectName: 'eNB-CI-FDD-Band7-B210',
filter: 'test_results*.html', filter: 'test_results*.html',
...@@ -296,6 +297,21 @@ pipeline { ...@@ -296,6 +297,21 @@ pipeline {
} }
} }
} }
// In case of any non-success, we are retrieving the HTML report of the last completed
// slave job. Note that we could use that syntax also in case of success.
// The only drop-back is that we may retrieve the HTML report of a previous build
cleanup {
script {
if (!fileExists('test_results-eNB-CI-FDD-Band7-B210.html')) {
copyArtifacts(projectName: 'eNB-CI-FDD-Band7-B210',
filter: 'test_results*.html',
selector: lastCompleted())
if (fileExists('test_results-eNB-CI-FDD-Band7-B210.html')) {
archiveArtifacts artifacts: 'test_results-eNB-CI-FDD-Band7-B210.html'
}
}
}
}
} }
} }
} }
......
This diff is collapsed.
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