Commit 758fb279 authored by mjoang's avatar mjoang
Browse files

2021/07/12 mjoang: 1st version

parent 89cb1d49
......@@ -41,6 +41,9 @@
// // Tags to shorten pipeline duration
//def doMandatoryTests = false
//def doFullTestsuite = false
def termUE = 0
def termENB = 1
def termStatusArray = new Boolean[2]
pipeline {
......@@ -109,10 +112,12 @@ pipeline {
script {
gitlabCommitStatus(name: "Terminate NR UE") {
{
sh "python3 ci-scripts/main.py --mode=TerminateOAIUE --UEIPAddress=${params.eNB_IPAddress} --UEUserName=${UE_Username} --UEPassword=${UE_Password}"
echo '\u2705 \u001B[32mTerminate NR UE\u001B[0m'
//sh "python3 ci-scripts/main.py --mode=TerminateOAIUE --UEIPAddress=${params.eNB_IPAddress} --UEUserName=${UE_Username} --UEPassword=${UE_Password}"
}
}
}
/*
post {
success {
script {
......@@ -120,14 +125,17 @@ pipeline {
}
}
}
*/
}
stage('Terminate NR eNB') {
script {
gitlabCommitStatus(name: "Terminate NR eNB") {
{
sh "python3 ci-scripts/main.py --mode=TerminateeNB --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password}"
echo '\u2705 \u001B[32mTerminate NR eNB\u001B[0m'
//sh "python3 ci-scripts/main.py --mode=TerminateeNB --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password}"
}
}
/*
post {
success {
script {
......@@ -135,6 +143,7 @@ pipeline {
}
}
}
*/
}
}
}
......
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