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

          should be assigned to Alan Harder

          Gwen Georgeault added a comment - should be assigned to Alan Harder

          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 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.

          Mark Waite added a comment -

          If the information is already available with a depth parameter, then there is no need to add it. Closing

          Mark Waite added a comment - If the information is already available with a depth parameter, then there is no need to add it. Closing

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

              Created:
              Updated:
              Resolved: