You've already forked sap-jenkins-library
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user