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,6 +230,7 @@ pipeline { ...@@ -230,6 +230,7 @@ pipeline {
steps { steps {
lock(params.SanityCheckDockerContainers) { lock(params.SanityCheckDockerContainers) {
script { script {
gitlabCommitStatus(name: "Sanity Check Deployment") {
sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --service mysql' sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --service mysql'
// NRF SHALL BE DEPLOYED BEFORE UPF-VPP // NRF SHALL BE DEPLOYED BEFORE UPF-VPP
sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --service oai-nrf' sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Deploy --service oai-nrf'
...@@ -248,6 +249,7 @@ pipeline { ...@@ -248,6 +249,7 @@ pipeline {
} }
} }
} }
}
post { post {
unsuccessful { unsuccessful {
sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Check --service all || true' sh 'python3 ./ci-scripts/sanityCheckDeployment.py --mode Check --service all || true'
...@@ -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