• tasman

      In Scope

          [JENKINS-39737] Update UI to support new artifacts endpoint

          Michael Neale created issue -
          Michael Neale made changes -
          Description Original: When people archive large numbers of files, blue ocean shows this up as lots of items of json test, vs a heirachy that can be browsed.

          For example,

          https://ci.jenkins.io/blue/rest/organizations/jenkins/pipelines/Plugins/pipeline-model-definition-plugin/activities/?start=0&limit=1

          Will return 23000 lines of json, much of which is in the artifacts field (nearly 2000 objects, each with 5 or so items).

          This is as a directory structure has been archived with lots of small files, but blue ocean shows this up as a flat listing. This can not scale and seems to be wrong by design.

          The classic jenkins provides a browsable view of artifacts:

          eg

           !Screen Shot 2016-11-15 at 7.44.41 pm.png|thumbnail!

          This doesn't fetch ANY artifact data until it is asked for (vs blue ocean that gives you a flat list).

          The raw json:

           https://gist.github.com/michaelneale/988cfc3ce44458ec9b094ef5dd97c9b3

          The job:
          https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/

          The pretty printed json:
           !Screen Shot 2016-11-15 at 7.46.33 pm.png|thumbnail!

          Blue ocean seems a bit wrong by design here - the artifacts tab can't be a flat listing.


          New: When people archive large numbers of files, blue ocean shows this up as lots of items of json test, vs a heirachy that can be browsed.

          For example,

          https://ci.jenkins.io/blue/rest/organizations/jenkins/pipelines/Plugins/pipeline-model-definition-plugin/activities/?start=0&limit=1

          Will return 23000 lines of json, much of which is in the artifacts field (nearly 2000 objects, each with 5 or so items).

          This is as a directory structure has been archived with lots of small files, but blue ocean shows this up as a flat listing. This can not scale and seems to be wrong by design.

          The classic jenkins provides a browsable view of artifacts:

          eg

           !Screen Shot 2016-11-15 at 7.44.41 pm.png|thumbnail!

          This doesn't fetch ANY artifact data until it is asked for (vs blue ocean that gives you a flat list).

          The raw json:

           https://gist.github.com/michaelneale/988cfc3ce44458ec9b094ef5dd97c9b3

          The job:
          https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/

          The pretty printed json:
           !Screen Shot 2016-11-15 at 7.46.33 pm.png|thumbnail!

          Blue ocean seems a bit wrong by design here - the artifacts tab can't be a flat listing. It should be loaded on demand, and probably never load the whole set of artifacts at once.


          Michael Neale added a comment -

          jamesdumay unless I am mistaken this is a critical design fault. I had never looked at how artifacts had worked before but the way it seems to work is not feasible. This needs to be looked at ASAP, perhaps even removed for now until it can be solved.

          Michael Neale added a comment - jamesdumay unless I am mistaken this is a critical design fault. I had never looked at how artifacts had worked before but the way it seems to work is not feasible. This needs to be looked at ASAP, perhaps even removed for now until it can be solved.
          Michael Neale made changes -
          Link New: This issue relates to JENKINS-39661 [ JENKINS-39661 ]
          Michael Neale made changes -
          Epic Link New: JENKINS-35759 [ 171771 ]
          Michael Neale made changes -
          Description Original: When people archive large numbers of files, blue ocean shows this up as lots of items of json test, vs a heirachy that can be browsed.

          For example,

          https://ci.jenkins.io/blue/rest/organizations/jenkins/pipelines/Plugins/pipeline-model-definition-plugin/activities/?start=0&limit=1

          Will return 23000 lines of json, much of which is in the artifacts field (nearly 2000 objects, each with 5 or so items).

          This is as a directory structure has been archived with lots of small files, but blue ocean shows this up as a flat listing. This can not scale and seems to be wrong by design.

          The classic jenkins provides a browsable view of artifacts:

          eg

           !Screen Shot 2016-11-15 at 7.44.41 pm.png|thumbnail!

          This doesn't fetch ANY artifact data until it is asked for (vs blue ocean that gives you a flat list).

          The raw json:

           https://gist.github.com/michaelneale/988cfc3ce44458ec9b094ef5dd97c9b3

          The job:
          https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/

          The pretty printed json:
           !Screen Shot 2016-11-15 at 7.46.33 pm.png|thumbnail!

          Blue ocean seems a bit wrong by design here - the artifacts tab can't be a flat listing. It should be loaded on demand, and probably never load the whole set of artifacts at once.


          New: When people archive large numbers of files, blue ocean shows this up as lots of json objects, flattened out, vs a heirachy that can be browsed.

          For example,

          https://ci.jenkins.io/blue/rest/organizations/jenkins/pipelines/Plugins/pipeline-model-definition-plugin/activities/?start=0&limit=1

          Will return 23000 lines of json, much of which is in the artifacts field (nearly 2000 objects, each with 5 or so items).

          This is as a directory structure has been archived with lots of small files, but blue ocean shows this up as a flat listing. This can not scale and seems to be wrong by design.

          The classic jenkins provides a browsable view of artifacts:

          eg

           !Screen Shot 2016-11-15 at 7.44.41 pm.png|thumbnail!

          This doesn't fetch ANY artifact data until it is asked for (vs blue ocean that gives you a flat list).

          The raw json:

           https://gist.github.com/michaelneale/988cfc3ce44458ec9b094ef5dd97c9b3

          The job:
          https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/

          The pretty printed json:
           !Screen Shot 2016-11-15 at 7.46.33 pm.png|thumbnail!

          Blue ocean seems a bit wrong by design here - the artifacts tab can't be a flat listing. It should be loaded on demand, and probably never load the whole set of artifacts at once.


          Michael Neale made changes -
          Description Original: When people archive large numbers of files, blue ocean shows this up as lots of json objects, flattened out, vs a heirachy that can be browsed.

          For example,

          https://ci.jenkins.io/blue/rest/organizations/jenkins/pipelines/Plugins/pipeline-model-definition-plugin/activities/?start=0&limit=1

          Will return 23000 lines of json, much of which is in the artifacts field (nearly 2000 objects, each with 5 or so items).

          This is as a directory structure has been archived with lots of small files, but blue ocean shows this up as a flat listing. This can not scale and seems to be wrong by design.

          The classic jenkins provides a browsable view of artifacts:

          eg

           !Screen Shot 2016-11-15 at 7.44.41 pm.png|thumbnail!

          This doesn't fetch ANY artifact data until it is asked for (vs blue ocean that gives you a flat list).

          The raw json:

           https://gist.github.com/michaelneale/988cfc3ce44458ec9b094ef5dd97c9b3

          The job:
          https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/

          The pretty printed json:
           !Screen Shot 2016-11-15 at 7.46.33 pm.png|thumbnail!

          Blue ocean seems a bit wrong by design here - the artifacts tab can't be a flat listing. It should be loaded on demand, and probably never load the whole set of artifacts at once.


          New: When people archive large numbers of files, blue ocean shows this up as lots of json objects, flattened out, vs a heirachy that can be browsed.

          For example,

          https://ci.jenkins.io/blue/rest/organizations/jenkins/pipelines/Plugins/pipeline-model-definition-plugin/activities/?start=0&limit=1

          Will return 23000 lines of json, much of which is in the artifacts field (nearly 2000 objects, each with 5 or so items).

          This is as a directory structure has been archived with lots of small files, but blue ocean shows this up as a flat listing. This can not scale and seems to be wrong by design.

          The classic jenkins provides a browsable view of artifacts:

          eg

           !Screen Shot 2016-11-15 at 7.44.41 pm.png|thumbnail!

          This doesn't fetch ANY artifact data until it is asked for (vs blue ocean that gives you a flat list).

          The raw json:

           https://gist.github.com/michaelneale/988cfc3ce44458ec9b094ef5dd97c9b3

          The job:
          https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/

          The pretty printed json:
           !Screen Shot 2016-11-15 at 7.46.33 pm.png|thumbnail!

          Blue ocean seems a bit wrong by design here - the artifacts tab can't be a flat listing. It should be loaded on demand, and probably never load the whole set of artifacts at once.

          NOTE: it seems that with classic it will list the files but only when it is a small amount.

          Tom FENNELLY added a comment -

          Seems like the stash/archive step in pipeline should be creating a zip when it is asked to archive a directory Vs archiving each individual file in the directory, which is what it seems to be doing. If it did that then I think this problem would just go away for BO.

          Tom FENNELLY added a comment - Seems like the stash/archive step in pipeline should be creating a zip when it is asked to archive a directory Vs archiving each individual file in the directory, which is what it seems to be doing. If it did that then I think this problem would just go away for BO.
          Tom FENNELLY made changes -
          Link New: This issue is blocking JENKINS-39625 [ JENKINS-39625 ]

          Michael Neale added a comment -

          tfennelly yeah it would (it may be doing that behind the scenes) but I think we have to support existing core behavior for now - which allows you to browse a tree on the web vs download or an explosion of files

          Michael Neale added a comment - tfennelly yeah it would (it may be doing that behind the scenes) but I think we have to support existing core behavior for now - which allows you to browse a tree on the web vs download or an explosion of files

            imeredith Ivan Meredith
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: