Details
-
Type:
Improvement
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: maven-deployment-linker-plugin
-
Labels:
-
Environment:Jenkins 1.542, Maven Deployment Linker 1.5.1, Maven 3.0.4 and Artifactory 2.6.6
-
Similar Issues:
Description
While using the Maven Deployment Linker, and not otherwise storing build artifacts locally, "Maven Deployments" are listed for every build as links to your Maven Repository (e.g.: Artifactory). But there is no corresponding data retrieved while using the Remote Access API (JSON or XML). For example, if you had a link similar to this:
http://<hostname>/jenkins/job/<jobname>/<buildnumber>/
You'll see a list of build artifacts deployed to your Maven Repo. But when hitting the Remote Access API like this:
http://<hostname>/jenkins/job/<jobname>/<buildnumber>/api/json?pretty=true
You end up with:
"mavenArtifacts" : null,
"mavenArtifacts" comes from the maven plugin. This plugin does not expose anything via the remote api. All it might take is an @ExportedBean some classes. I'll see what I can do, if you wanted to try, see https://wiki.jenkins-ci.org/display/JENKINS/Exposing+data+to+the+remote+API