Commit c90e079a authored by Raphael Defosseux's avatar Raphael Defosseux

fix(ci): fix typo in Jenkinsfile

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 2f379bb1
...@@ -230,21 +230,23 @@ pipeline { ...@@ -230,21 +230,23 @@ pipeline {
steps { steps {
lock(params.SanityCheckDockerContainers) { lock(params.SanityCheckDockerContainers) {
script { script {
sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --service mysql' gitlabCommitStatus(name: "Sanity Check Deployment") {
// NRF SHALL BE DEPLOYED BEFORE UPF-VPP sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --service mysql'
sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --service oai-nrf' // NRF SHALL BE DEPLOYED BEFORE UPF-VPP
sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --service vpp-upf --upf_tag ' + upf_tag sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --service oai-nrf'
// SMF is dependant on AMF and EXT-DN: they will be deploy as well sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --service vpp-upf --upf_tag ' + upf_tag
sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --service oai-smf' // SMF is dependant on AMF and EXT-DN: they will be deploy as well
// GNB SIM as RAN emulator sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --service oai-smf'
sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --docker_compose docker-compose-gnbsim.yaml --service gnbsim-vpp' // GNB SIM as RAN emulator
sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --docker_compose docker-compose-gnbsim.yaml --service gnbsim-vpp'
// Check if deployment is OK // Check if deployment is OK
sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Check --service all' sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Check --service all'
// Undeploy once OK // Undeploy once OK
sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode UnDeploy --docker_compose docker-compose-gnbsim.yaml --service gnbsim-vpp' sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode UnDeploy --docker_compose docker-compose-gnbsim.yaml --service gnbsim-vpp'
sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode UnDeploy --service all' sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode UnDeploy --service all'
}
} }
} }
} }
...@@ -262,7 +264,7 @@ pipeline { ...@@ -262,7 +264,7 @@ pipeline {
steps { steps {
script { script {
gitlabCommitStatus(name: "Test tutorials") { gitlabCommitStatus(name: "Test tutorials") {
localStatus = build job: OAI-CN5G-Tutorials-Check, localStatus = build job: 'OAI-CN5G-Tutorials-Check',
parameters: [ parameters: [
string(name: 'UPF_VPP_TAG', value: String.valueOf(upf_tag)), string(name: 'UPF_VPP_TAG', value: String.valueOf(upf_tag)),
string(name: 'UPF_VPP_BRANCH', value: String.valueOf(upf_branch)) string(name: 'UPF_VPP_BRANCH', value: String.valueOf(upf_branch))
...@@ -281,7 +283,7 @@ pipeline { ...@@ -281,7 +283,7 @@ pipeline {
post { post {
always { always {
script { script {
copyArtifacts(projectName: OAI-CN5G-Tutorials-Check, copyArtifacts(projectName: 'OAI-CN5G-Tutorials-Check',
filter: '*_results_oai_cn5g*.html', filter: '*_results_oai_cn5g*.html',
selector: lastCompleted()) selector: lastCompleted())
} }
......
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