Jenkinsfiles: Print if an XML file is not present
This commit is contained in:
@@ -200,6 +200,8 @@ pipeline {
|
|||||||
if (fileExists(xmlFile)) {
|
if (fileExists(xmlFile)) {
|
||||||
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
||||||
echo "Test XML file : ${xmlFile}"
|
echo "Test XML file : ${xmlFile}"
|
||||||
|
} else {
|
||||||
|
echo "Test XML file ${xmlFile}: no such file"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
withCredentials([
|
withCredentials([
|
||||||
|
|||||||
@@ -193,6 +193,8 @@ pipeline {
|
|||||||
if (fileExists(xmlFile)) {
|
if (fileExists(xmlFile)) {
|
||||||
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
||||||
echo "Test XML file : ${xmlFile}"
|
echo "Test XML file : ${xmlFile}"
|
||||||
|
} else {
|
||||||
|
echo "Test XML file ${xmlFile}: no such file"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -186,6 +186,8 @@ pipeline {
|
|||||||
if (fileExists(xmlFile)) {
|
if (fileExists(xmlFile)) {
|
||||||
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
||||||
echo "Test XML file : ${xmlFile}"
|
echo "Test XML file : ${xmlFile}"
|
||||||
|
} else {
|
||||||
|
echo "Test XML file ${xmlFile}: no such file"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -192,6 +192,8 @@ pipeline {
|
|||||||
if (fileExists(xmlFile)) {
|
if (fileExists(xmlFile)) {
|
||||||
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
||||||
echo "Test XML file : ${xmlFile}"
|
echo "Test XML file : ${xmlFile}"
|
||||||
|
} else {
|
||||||
|
echo "Test XML file ${xmlFile}: no such file"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -189,6 +189,8 @@ pipeline {
|
|||||||
if (fileExists(xmlFile)) {
|
if (fileExists(xmlFile)) {
|
||||||
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
||||||
echo "Test XML file : ${xmlFile}"
|
echo "Test XML file : ${xmlFile}"
|
||||||
|
} else {
|
||||||
|
echo "Test XML file ${xmlFile}: no such file"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -200,6 +200,8 @@ pipeline {
|
|||||||
if (fileExists(xmlFile)) {
|
if (fileExists(xmlFile)) {
|
||||||
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
||||||
echo "Test XML file : ${xmlFile}"
|
echo "Test XML file : ${xmlFile}"
|
||||||
|
} else {
|
||||||
|
echo "Test XML file ${xmlFile}: no such file"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -181,6 +181,8 @@ pipeline {
|
|||||||
if (fileExists(xmlFile)) {
|
if (fileExists(xmlFile)) {
|
||||||
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
mainPythonAllXmlFiles += "--XMLTestFile=" + xmlFile + " "
|
||||||
echo "Test XML file : ${xmlFile}"
|
echo "Test XML file : ${xmlFile}"
|
||||||
|
} else {
|
||||||
|
echo "Test XML file ${xmlFile}: no such file"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user