Can anyone help me with this please?
I have Groovy code:
resultsSummaryForEmail = '<h3>xml files that passed:</h3>'
passedXml.each { String filePath ->
resultsSummaryForEmail.append("${filePath}\n")
}
where passedXml is a list of strings (file paths).
But that gives me error:
hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: java.lang.String.append() is applicable for argument types: (org.codehaus.groovy.runtime.GStringImpl) values: [<snip>
]
Possible solutions: expand(), expand(int), find(), any(), lines(), grep()