CI: hotfix

-- Corrected the long option version for variant in test run script
  -- added proper test in zip command in pipeline

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2018-06-28 14:16:50 +02:00
parent 8b833dfe99
commit 9f299e77e6
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ pipeline {
always {
script {
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')) {
archiveArtifacts artifacts: 'archives/vm_tests_logs.zip'
+2
View File
@@ -133,6 +133,8 @@ case $key in
;;
phy-sim)
VM_NAME=ci-phy-sim
RUN_OPTIONS="./run_exec_autotests.bash -g \"01510*\" -q -np -b"
ARCHIVES_LOC=phy_sim/test
;;
cppcheck)
VM_NAME=ci-cppcheck