[ https://issues.jenkins-ci.org/browse/JENKINS-12742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158948#comment-158948 ]
Eugene Gligalov commented on JENKINS-12742: ------------------------------------------- or even better: ${XML,file="somepath/pom.xml",xpath="/project/version/text()"} > XML Reader feature > ------------------ > > Key: JENKINS-12742 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12742 > Project: Jenkins > Issue Type: New Feature > Components: token-macro > Reporter: Eugene Gligalov > Assignee: Kohsuke Kawaguchi > > Hi, > Would be nice if plugin has possibility to read xml using xpath, this might > be useful for reading version from maven pom.xml it might look like: > ${PROPFILE,file="somepath/pom.xml",xpath="/project/version/text()"} > Regards > Eugene Gligalov -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira