add the info from
      COPYARTIFACT_BUILD_NUMBER_[JOB]="BUILD_NUMBER"

      or the info that is contained in the console such as
      Copied 1 artifact from "Tests" build number 6

      to the Rest API xml
      http://jenkinsserver:8080/job/[jobname]/[buildnumber]/api/xml

      the info could look like

      <copyartefact>
      <jobname1>
      <buildnumber>6<buildnumber>
      <artefact>somefileA</artefact>
      </jobname1>
      <jobname2>
      <buildnumber>12<buildnumber>
      <artefact>somefileB</artefact>
      </jobname2>
      </copyartefact>

          [JENKINS-20451] Add Copy Artefacts info to the xml Rest API

          Gwen Georgeault created issue -

          should be assigned to Alan Harder

          Gwen Georgeault added a comment - should be assigned to Alan Harder
          Gwen Georgeault made changes -
          Assignee New: Alan Harder [ mindless ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 151976 ] New: JNJira + In-Review [ 178137 ]
          Martin d'Anjou made changes -
          Labels Original: plugin New: newbie-friendly plugin
          Oleg Nenashev made changes -
          Assignee Original: Alan Harder [ mindless ]
          Oleg Nenashev made changes -
          Labels Original: newbie-friendly plugin New: REST newbie-friendly plugin

          I'm interested in working on this issue if its not taken. 

          Wimukthi Indeewara added a comment - I'm interested in working on this issue if its not taken. 
          Wimukthi Indeewara made changes -
          Assignee New: Wimukthi Indeewara [ wimukthi ]

          Wimukthi Indeewara added a comment - - edited

          oleg_nenashev  kwhetstone markewaite  I have gone through this issue and actually, this info can be retrieved using the depth parameter. For example, using the following URL we can get all the information about the copied artifacts including their details.

          http://jenkinsserver:8080/job/[jobname]/[buildnumber]/api/xml?depth=2

          So do we need to add it to the http://jenkinsserver:8080/job/[jobname]/[buildnumber]/api/xml ? (I guess this is similar to [http://jenkinsserver:8080/job/[jobname]/[buildnumber]/api/xml?depth=1]). But if it's needed I will try to add them to the REST API XML.

          Wimukthi Indeewara added a comment - - edited oleg_nenashev   kwhetstone markewaite  I have gone through this issue and actually, this info can be retrieved using the depth parameter. For example, using the following URL we can get all the information about the copied artifacts including their details. http://jenkinsserver:8080/job/[jobname]/[buildnumber]/api/xml?depth=2 So do we need to add it to the http://jenkinsserver:8080/job/[jobname]/[buildnumber]/api/xml ? (I guess this is similar to [http://jenkinsserver:8080/job/[jobname]/[buildnumber]/api/xml?depth=1]). But if it's needed I will try to add them to the REST API XML.

            wimukthi Wimukthi Indeewara
            ggeorgea Gwen Georgeault
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: