To fix this issue, you can add this groovy script between the Fitnesse tests execution and the Fitnesse publish result report step. It create a new result file.

def head = 0
def lines = new File( 'fitnesse_tmp_result.xml' ).readLines()
lines = lines.findAll{ line ->
  if (line == '<?xml version="1.0"?>') head++
  return head == 1
}

new File( 'fitnesse_result.xml' ).withWriter { w ->
  lines.each{ line ->
    w.write(line + '\n')
  }
}
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to