b0VIM 8.2a̞cjoshholtzJoshs-MacBook-Air.local~joshholtz/Developer/fastlane/fastlane/trainer/lib/trainer/junit_generator.rb 3210#"! Utpad 8 jbaP rqR ? >  v l J B < 8 7 end end end return clean_xml.join("\n") end clean_xml << row.delete("\n") if row.strip.to_s.length > 0 xml.each_line do |row| clean_xml = [] # They may contain white spaces # We have to manuall clear empty lines xml = xml.gsub('system_', 'system-').delete("\e") # Jenkins can not parse 'ESC' symbol xml = ERB.new(File.read(xml_path), nil, '<>').result(binding) # http://www.rrn.dk/rubys-erb-templating-system xml_path = File.join(lib_path, "lib/assets/junit.xml.erb") lib_path = Trainer::ROOT # And http://windyroad.com.au/dl/Open%20Source/JUnit.xsd # And http://nelsonwells.net/2012/09/how-jenkins-ci-parses-and-displays-junit-output/ # JUnit file documentation: http://llg.cubic.org/docs/junit/ def generate end self.results = results def initialize(results) attr_accessor :results class JunitGeneratormodule Trainerrequire_relative 'module'