Commit 8436f128 authored by Boris Djalal's avatar Boris Djalal

Adding terminate Python call.

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent 977f5553
...@@ -227,7 +227,12 @@ pipeline { ...@@ -227,7 +227,12 @@ pipeline {
parallel { parallel {
stage('Terminate NR UE') { stage('Terminate NR UE') {
steps { steps {
echo '\u2705 \u001B[32mTerminate UE\u001B[0m' echo '\u2705 \u001B[32mTerminate NR UE\u001B[0m'
withCredentials([
[$class: 'UsernamePasswordMultiBinding', credentialsId: "${params.eNB_Credentials}", usernameVariable: 'UE_Username', passwordVariable: 'UE_Password']
]) {
sh "python3 ci-scripts/main.py --mode=TerminateOAIUE --UEPAddress=${params.eNB_IPAddress} --UEUserName=${UE_Username} --UEPassword=${UE_Password}"
}
} }
post { post {
success { success {
...@@ -239,7 +244,12 @@ pipeline { ...@@ -239,7 +244,12 @@ pipeline {
} }
stage('Terminate NR eNB') { stage('Terminate NR eNB') {
steps { steps {
echo '\u2705 \u001B[32mTerminate eNB\u001B[0m' echo '\u2705 \u001B[32mTerminate NR eNB\u001B[0m'
withCredentials([
[$class: 'UsernamePasswordMultiBinding', credentialsId: "${params.eNB_Credentials}", usernameVariable: 'eNB_Username', passwordVariable: 'eNB_Password']
]) {
sh "python3 ci-scripts/main.py --mode=TerminateNB --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password}"
}
} }
post { post {
success { success {
......
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