Skip to content

Commit

Permalink
Merge pull request #211 from SPARK/fix/master
Browse files Browse the repository at this point in the history
Wrongly copying params after evaluation
  • Loading branch information
ToniRV authored and GitHub Enterprise committed Sep 20, 2019
2 parents 4925c4e + def376e commit 41a74b7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ pipeline {
stage('Euroc Performance') {
steps {
wrap([$class: 'Xvfb']) {
// Copy params to Workspace
sh 'mkdir -p $WORKSPACE/spark_vio_evaluation/experiments'
sh 'cp -r /root/spark_vio_evaluation/experiments/params $WORKSPACE/spark_vio_evaluation/experiments/'

// Run performance tests.
// In jenkins_euroc.yaml, set output path to #WORKSPACE/spark_vio_evaluation/html/data
sh '/root/spark_vio_evaluation/evaluation/main_evaluation.py -r -a -v \
Expand All @@ -44,9 +48,6 @@ pipeline {
spark_vio_evaluation/html/data/V1_01_easy/S/results.yaml \
spark_vio_evaluation/html/data/V1_01_easy/S/vio_performance.csv'

// Copy params to Workspace
sh 'cp -r /root/spark_vio_evaluation/experiments/params $WORKSPACE/spark_vio_evaluation/'

// Copy performance website to Workspace
sh 'cp -r /root/spark_vio_evaluation/html $WORKSPACE/spark_vio_evaluation/'

Expand Down Expand Up @@ -88,7 +89,7 @@ pipeline {
// Archive the params used in evaluation (if these are used is determined
// by the experiments yaml file in spark_vio_evaluation)
archiveArtifacts (
artifacts: 'spark_vio_evaluation/params/**/*.*',
artifacts: 'spark_vio_evaluation/experiments/params/**/*.*',
fingerprint: true
)

Expand Down

0 comments on commit 41a74b7

Please sign in to comment.