Commit 43491569 authored by Boris Djalal's avatar Boris Djalal

Save

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent f07086e3
...@@ -48,6 +48,8 @@ def ADB_IPAddress = "none" ...@@ -48,6 +48,8 @@ def ADB_IPAddress = "none"
def ADB_Username = "none" def ADB_Username = "none"
def ADB_Password = "none" def ADB_Password = "none"
def EPC_IPAddress = "none" def EPC_IPAddress = "none"
def EPC_Username = "none"
def EPC_Password = "none"
...@@ -190,7 +192,7 @@ pipeline { ...@@ -190,7 +192,7 @@ 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 "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 "params.eNB_Password = ${params.eNB_Password}" echo "params.eNB_Password = ${params.eNB_Password}"
...@@ -209,7 +211,8 @@ pipeline { ...@@ -209,7 +211,8 @@ 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=${params.eNB_Password} --eNBBranch=${eNB_Branch} --eNBSourceCodePath=${params.eNB_SourceCodePath} --eNBRepository=${eNB_Repository} --eNBCommitID=${eNB_CommitID} --ADBIPAddress=${ADB_IPAddress} --EPCIPAddress=${EPC_IPAddress} --XMLTestFile=${xmlFile}" echo "The test will be executed here."
//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
......
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