Improved kitchen log printing
Change-Id: I702085aa3d32192cfd84178c36e7f706f5a77246
diff --git a/test-salt-formulas-pipeline.groovy b/test-salt-formulas-pipeline.groovy
index c6e5ce0..920e791 100644
--- a/test-salt-formulas-pipeline.groovy
+++ b/test-salt-formulas-pipeline.groovy
@@ -67,7 +67,7 @@
throw e
} finally {
if(currentBuild.result == "FAILURE" && fileExists(".kitchen/logs/kitchen.log")){
- println("KITCHEN LOG:")
+ common.errorMsg("----------------KITCHEN LOG:---------------")
println readFile(".kitchen/logs/kitchen.log")
}
common.sendNotification(currentBuild.result,"",["slack"])