1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-11-06 09:09:19 +02:00

Log changes (#3238)

* change return after files are persisted & Change logging

* Changing log levels and return
This commit is contained in:
Dominik Lendle
2021-11-03 15:30:25 +01:00
committed by GitHub
parent 0f3b48aaec
commit 52461a87ea

View File

@@ -373,10 +373,6 @@ func parseAUnitResult(body []byte, aunitResultFileName string) (err error) {
//Optional checks before writing the Results
parsedXML := new(AUnitResult)
xml.Unmarshal([]byte(body), &parsedXML)
if len(parsedXML.Testsuite.Testcase) == 0 {
log.Entry().Info("There were no AUnit findings from this run")
return nil
}
//Write Results
err = ioutil.WriteFile(aunitResultFileName, body, 0644)