Commit 40bde2ae authored by Robert Schmidt's avatar Robert Schmidt

Jenkinsfiles: Print if an XML file is not present

parent de310c6e
...@@ -200,6 +200,8 @@ pipeline { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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"
} }
} }
} }
......
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