Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5247

API Listing of Artifacts is limited by UI settings

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • other
    • None

      The hudson.model.Run.ArtifactList.treeCutoff property does not merely affect the manner of listing artifacts on the Job's HTML page, but also limits the number of items retrieved by the API. You can confirm this by polling <hudson>/job/<jobName>/<buildNumber>/api/xml?xpath=//artifact with different settings for hudson.model.Run.ArtifactList.treeCutoff, and as long as you actually have more artifacts than the treeCutoff, the number of items found will always be only one more than the value of treeCutoff.

      The UI configuration parameter should not affect the API results in this manner.

          [JENKINS-5247] API Listing of Artifacts is limited by UI settings

          emmulator created issue -
          ashlux made changes -
          Assignee New: ashlux [ ashlux ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135336 ] New: JNJira + In-Review [ 203423 ]

            ashlux ashlux
            emmulator emmulator
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: