Showing posts with label xml Path to pom.xml via REST API. Show all posts
Showing posts with label xml Path to pom.xml via REST API. Show all posts

Path to pom.xml via REST API

Wednesday, November 4, 2015

I have a Jenkins job which checks out some code from a repository and starts a Maven build. To get some informations about the job and the builds I can use the urls http://myjenkins/job/MyJob/api/xml and http://myjenkins/job/MyJob/123/api/xml.



Is it possible to load the configured path to the pom.xml (for cases where it's not just "pom.xml") via those APIs? I couldn't find anything in the results and I don't want to use the config.xml which needs additional rights.



My version of Jenkins is 1.580.3.