Commit 9f299e77 authored by Raphael Defosseux's avatar Raphael Defosseux

CI: hotfix

  -- Corrected the long option version for variant in test run script
  -- added proper test in zip command in pipeline
Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 8b833dfe
...@@ -171,7 +171,7 @@ pipeline { ...@@ -171,7 +171,7 @@ pipeline {
always { always {
script { script {
dir ('archives') { dir ('archives') {
sh "zip -r -qq vm_tests_logs.zip */test" sh "if [ -d */test ]; then zip -r -qq vm_tests_logs.zip */test ; fi"
} }
if(fileExists('archives/vm_tests_logs.zip')) { if(fileExists('archives/vm_tests_logs.zip')) {
archiveArtifacts artifacts: 'archives/vm_tests_logs.zip' archiveArtifacts artifacts: 'archives/vm_tests_logs.zip'
......
...@@ -133,6 +133,8 @@ case $key in ...@@ -133,6 +133,8 @@ case $key in
;; ;;
phy-sim) phy-sim)
VM_NAME=ci-phy-sim VM_NAME=ci-phy-sim
RUN_OPTIONS="./run_exec_autotests.bash -g \"01510*\" -q -np -b"
ARCHIVES_LOC=phy_sim/test
;; ;;
cppcheck) cppcheck)
VM_NAME=ci-cppcheck VM_NAME=ci-cppcheck
......
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