From f828cffd5b59208e44496157127c6ac946dbe247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Thu, 9 Jun 2016 11:18:43 +0000 Subject: [PATCH] jenkins junit plugin gojne crazy: classname must not be a file but either a directory or not exist --- src/commands.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands.hxx b/src/commands.hxx index 71220f7..9010ecd 100644 --- a/src/commands.hxx +++ b/src/commands.hxx @@ -602,7 +602,8 @@ class Script: public QObject { xml::Node testcase("testcase"); try { testcase.attr("classname") = - xmlattr(_testclass.size()?_testclass:(*cmd)->file(), true).toStdString(); + xmlattr(_testclass.size()?"file: "+_testclass:(*cmd)->file(), true) + .toStdString(); testcase.attr("name") = xmlattr(QString("%1: %2") .arg((*cmd)->line())