From 6475cf21a5ba630a04fb15aaca8c6aab14353223 Mon Sep 17 00:00:00 2001 From: Raphael Defosseux Date: Thu, 23 Mar 2023 11:44:57 +0100 Subject: [PATCH] fix(ci): removing the mysql-collection from pipeline; not used anymore Signed-off-by: Raphael Defosseux --- ci-scripts/Jenkinsfile-tmp-multi-enb-nsa | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/ci-scripts/Jenkinsfile-tmp-multi-enb-nsa b/ci-scripts/Jenkinsfile-tmp-multi-enb-nsa index e7f803b45c..078adb2a68 100644 --- a/ci-scripts/Jenkinsfile-tmp-multi-enb-nsa +++ b/ci-scripts/Jenkinsfile-tmp-multi-enb-nsa @@ -24,7 +24,6 @@ // Location of the python executor node shall be in the same subnet as the others servers def pythonExecutor = params.pythonExecutor -def DataBaseHost = params.DataBaseHost // Location of the test XML file to be run def testXMLFile = params.pythonTestXmlFile @@ -169,10 +168,6 @@ pipeline { allParametersPresent = false } - if (params.DataBaseHost == "none") { - DataBaseHost = pythonExecutor - } - if (allParametersPresent) { echo "All parameters are present" if (eNB_AllowMergeRequestProcess) { @@ -357,18 +352,6 @@ pipeline { } } } - stage ("SQL Collect"){ - when { - expression { params.DataBaseHost != "none" } - } - agent {label DataBaseHost} - steps { - script { - if (currentBuild.result=='FAILURE') {StatusForDb = 'FAIL'} else {StatusForDb = 'PASS'} - sh "python3 /home/oaicicd/mysql/sql_connect.py ${JOB_NAME} ${params.eNB_MR} ${params.eNB_Branch} ${env.BUILD_ID} ${env.BUILD_URL} ${StatusForDb} ''" - } - } - } } } }