Commit 7b8131bd authored by FANG WANG's avatar FANG WANG

Update Jenkinsfile-gitlab

parent f40a8d81
...@@ -370,9 +370,9 @@ pipeline { ...@@ -370,9 +370,9 @@ pipeline {
} }
} }
/*
stage ("Variant Tests") { stage ("Variant Tests") {
parallel { parallel {
/*
stage ("VM-based tests") { stage ("VM-based tests") {
stages { stages {
stage ("Test physical simulators") { stage ("Test physical simulators") {
...@@ -702,13 +702,13 @@ pipeline { ...@@ -702,13 +702,13 @@ pipeline {
} }
} }
} }
*/
} }
post { post {
always { always {
script { script {
dir ('archives') { dir ('archives') {
sh "if [ -d basic_sim/test ] || [ -d phy_sim/test ] || [ -d l2_sim/test ]; then zip -r -qq vm_tests_logs.zip */test ; fi" // add a "space" between '*' and '/test' in the next line!!!
sh "if [ -d basic_sim/test ] || [ -d phy_sim/test ] || [ -d l2_sim/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'
...@@ -725,7 +725,8 @@ pipeline { ...@@ -725,7 +725,8 @@ pipeline {
} }
} }
} }
} }
*/
} }
/* post { /* post {
always { always {
......
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