Commit 309fc602 authored by Raphael Defosseux's avatar Raphael Defosseux

CI: gitlab pipeline starts

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 9a5f8686
...@@ -227,6 +227,7 @@ pipeline { ...@@ -227,6 +227,7 @@ pipeline {
expression {ReplayPhySimTests} expression {ReplayPhySimTests}
} }
steps { steps {
gitlabBuilds(builds: ["Test phy-sim"]) {
script { script {
timeout (time: 20, unit: 'MINUTES') { timeout (time: 20, unit: 'MINUTES') {
try { try {
...@@ -240,6 +241,7 @@ pipeline { ...@@ -240,6 +241,7 @@ pipeline {
} }
} }
} }
}
stage ("Build Flexran Controller") { stage ("Build Flexran Controller") {
when { when {
expression {doFlexranCtrlTest && ReplayBasicSimTests} expression {doFlexranCtrlTest && ReplayBasicSimTests}
...@@ -261,6 +263,7 @@ pipeline { ...@@ -261,6 +263,7 @@ pipeline {
expression {ReplayBasicSimTests} expression {ReplayBasicSimTests}
} }
steps { steps {
gitlabBuilds(builds: ["Test basic-sim"]) {
script { script {
timeout (time: 30, unit: 'MINUTES') { timeout (time: 30, unit: 'MINUTES') {
try { try {
...@@ -274,11 +277,13 @@ pipeline { ...@@ -274,11 +277,13 @@ pipeline {
} }
} }
} }
}
stage ("Test L2 simulator") { stage ("Test L2 simulator") {
when { when {
expression {ReplayL2nFAPISimTests} expression {ReplayL2nFAPISimTests}
} }
steps { steps {
gitlabBuilds(builds: ["Test L2-sim"]) {
script { script {
timeout (time: 30, unit: 'MINUTES') { timeout (time: 30, unit: 'MINUTES') {
try { try {
...@@ -292,6 +297,7 @@ pipeline { ...@@ -292,6 +297,7 @@ pipeline {
} }
} }
} }
}
stage ("Destroy all Virtual Machines") { stage ("Destroy all Virtual Machines") {
steps { steps {
sh "./ci-scripts/oai-ci-vm-tool destroy --job-name ${JOB_NAME} --build-id ${BUILD_ID}" sh "./ci-scripts/oai-ci-vm-tool destroy --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
......
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