Perform installer file (ISM) checking
This commit is contained in:
parent
429d901d01
commit
098b0cb837
1 changed files with 3 additions and 3 deletions
|
|
@ -76,11 +76,11 @@ def checkISMfile(String ISMfile) {
|
||||||
echo "Checking ISM file: ${ISMfile}"
|
echo "Checking ISM file: ${ISMfile}"
|
||||||
def xml = readFile(ISMfile)
|
def xml = readFile(ISMfile)
|
||||||
(exitcode, message) = checkISMfilebackend(xml)
|
(exitcode, message) = checkISMfilebackend(xml)
|
||||||
|
echo message
|
||||||
if (exitcode > 0) {
|
if (exitcode > 0) {
|
||||||
error "ISM file errors found:\n${message}"
|
error "ISM file errors found"
|
||||||
} else {
|
} else {
|
||||||
echo "Checked ISM file: ${ISMfile} - ok"
|
echo "Checked ISM file - ok"
|
||||||
echo message
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue