[VOL-3007] Always parse the robot results
Change-Id: I26f87d2b23cdce0c56bfa1923126bc05ec299346
diff --git a/jjb/pipeline/voltha-scale-test.groovy b/jjb/pipeline/voltha-scale-test.groovy
index aed5edc..7fa69de 100644
--- a/jjb/pipeline/voltha-scale-test.groovy
+++ b/jjb/pipeline/voltha-scale-test.groovy
@@ -283,19 +283,17 @@
}
}
}
- stage('Collect results') {
- steps {
- sh '''
- cd voltha-system-tests
- source ./vst_venv/bin/activate
- python tests/scale/collect-result.py -r $WORKSPACE/RobotLogs/output.xml -p $WORKSPACE/plots > $WORKSPACE/execution-time.txt
- cat $WORKSPACE/execution-time.txt
- '''
- }
- }
}
post {
always {
+ // collect result, done in the "post" step so it's executed even in the
+ // event of a timeout in the tests
+ sh '''
+ cd voltha-system-tests
+ source ./vst_venv/bin/activate
+ python tests/scale/collect-result.py -r $WORKSPACE/RobotLogs/output.xml -p $WORKSPACE/plots > $WORKSPACE/execution-time.txt
+ cat $WORKSPACE/execution-time.txt
+ '''
sh '''
if [ ${withProfiling} = true ] ; then
_TAG="pprof"