Print maven version for all Hudson jobs
Ant or JDK versions printing makes via the same way. Use 'antName' or 'jdk' instead 'mavenName' string.
Copy this code and paste it in your HTML
c
= new File(j.
absolutePath,
'config.xml') if (c.
file) new XmlParser
().
parse(c
).
'**'.
findAll{it.
name() == 'mavenName'}.
collect{"$j.name: ${it.text()}"}.
unique().
each { }
}
URL: hudson_mvn_vers
Report this snippet
Comments
Subscribe to comments