Commit f07086e3 authored by Boris Djalal's avatar Boris Djalal

Save

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent ab539596
...@@ -190,15 +190,14 @@ pipeline { ...@@ -190,15 +190,14 @@ pipeline {
echo "ADB_IPAddress= ${ADB_IPAddress}" echo "ADB_IPAddress= ${ADB_IPAddress}"
echo "ADB_Username = ${ADB_Username}" echo "ADB_Username = ${ADB_Username}"
echo "ADB_Password = ${ADB_Password}" echo "ADB_Password = ${ADB_Password}"
echo "eNB_Password = ${eNB_Password}"
echo "mainPythonAllXmlFiles = ${mainPythonAllXmlFiles}" echo "mainPythonAllXmlFiles = ${mainPythonAllXmlFiles}"
echo "params.eNB_IPAddress = ${params.eNB_IPAddress}" echo "params.eNB_IPAddress = ${params.eNB_IPAddress}"
echo "eNB_Username = ${eNB_Username}" echo "eNB_Username = ${eNB_Username}"
echo "eNB_Password = ${eNB_Password}" echo "params.eNB_Password = ${params.eNB_Password}"
echo "eNBBranch = ${eNBBranch}" echo "eNBBranch = ${eNBBranch}"
echo "params.eNB_SourceCodePath = ${params.eNB_SourceCodePath}" echo "params.eNB_SourceCodePath = ${params.eNB_SourceCodePath}"
echo "params.ADB_IPAddress = ${params.ADB_IPAddress}" echo "ADB_IPAddress = ${ADB_IPAddress}"
echo "params.EPC_IPAddress = ${params.EPC_IPAddress}" echo "EPC_IPAddress = ${EPC_IPAddress}"
echo "xmlFile = ${xmlFile}" echo "xmlFile = ${xmlFile}"
echo "buildStageStatus = ${buildStageStatus}" echo "buildStageStatus = ${buildStageStatus}"
withCredentials([ withCredentials([
...@@ -210,14 +209,14 @@ pipeline { ...@@ -210,14 +209,14 @@ pipeline {
for (xmlFile in myXmlTestSuite) { for (xmlFile in myXmlTestSuite) {
if (fileExists(xmlFile)) { if (fileExists(xmlFile)) {
try { try {
sh "python3 main.py --mode=TesteNB --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password} --eNBBranch=${eNB_Branch} --eNBSourceCodePath=${params.eNB_SourceCodePath} --eNBRepository=${eNB_Repository} --eNBCommitID=${eNB_CommitID} --ADBIPAddress=${ADB_IPAddress} --EPCIPAddress=${EPC_IPAddress} --XMLTestFile=${xmlFile}" sh "python3 main.py --mode=TesteNB --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${params.eNB_Password} --eNBBranch=${eNB_Branch} --eNBSourceCodePath=${params.eNB_SourceCodePath} --eNBRepository=${eNB_Repository} --eNBCommitID=${eNB_CommitID} --ADBIPAddress=${ADB_IPAddress} --EPCIPAddress=${EPC_IPAddress} --XMLTestFile=${xmlFile}"
} catch (Exception e) { } catch (Exception e) {
currentBuild.result = 'FAILURE' currentBuild.result = 'FAILURE'
buildStageStatus = false buildStageStatus = false
} }
} }
} }
sh "python3 main.py --mode=FinalizeHtml --finalStatus=${buildStageStatus} --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password}" sh "python3 main.py --mode=FinalizeHtml --finalStatus=${buildStageStatus} --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${params.eNB_Password}"
} }
} }
} }
......
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