Details
-
Type:
Task
-
Status: Resolved (View Workflow)
-
Priority:
Critical
-
Resolution: Duplicate
-
Component/s: blueocean-plugin
-
Labels:
-
Similar Issues:
-
Epic Link:
-
Sprint:tasman
Description
In Scope
- Update the loading of the artifacts tab so that it fetches its data from the new artifacts endpoint built in
JENKINS-39761(similar to how we load the test tab) - Ensure that the name of the artifact is the "full path"
- Add a download all button to the Artifacts tab (see screenshot of https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/job/master/lastSuccessfulBuild/artifact/)
- If we are showing the maximum number of artifacts then show message below "Showing first 100 artifacts"
Attachments
Issue Links
- duplicates
-
JENKINS-39761 Improve BlueRun loading performance with many artifacts
-
- Resolved
-
- is blocked by
-
JENKINS-39761 Improve BlueRun loading performance with many artifacts
-
- Resolved
-
- is blocking
-
JENKINS-39625 OPTIMIZATION: Pre-load Runs on pipeline activity page
-
- Closed
-
- relates to
-
JENKINS-39661 Investigate performance of Pipeline /activity and /runs REST endpoint
-
- Resolved
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
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. |
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. |
Link |
This issue relates to |
Epic Link | JENKINS-35759 [ 171771 ] |
Description |
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. |
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. |
Description |
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. |
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. |
Link |
This issue is blocking |
Summary | Loading all artifacts as flattened list is not feasible | Update UI to support new artifacts endpoint |
Issue Type | Bug [ 1 ] | Task [ 3 ] |
Description |
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. |
Attachment | Screen Shot 2016-11-15 at 7.44.41 pm.png [ 34848 ] |
Attachment | Screen Shot 2016-11-15 at 7.46.33 pm.png [ 34847 ] |
Description |
*In Scope* * Update the loading of the artifacts tab so that it fetches its data from the new artifacts endpoint built in * Ensure that the name of the artifact is the "full path" * Add a download all button to the Artifacts tab (see screenshot) |
Attachment | Failing result - Artifacts.png [ 34862 ] |
Link |
This issue is blocked by |
Attachment | Screen Shot 2016-11-16 at 2.48.18 pm.png [ 34863 ] |
Description |
*In Scope* * Update the loading of the artifacts tab so that it fetches its data from the new artifacts endpoint built in * Ensure that the name of the artifact is the "full path" * Add a download all button to the Artifacts tab (see screenshot) |
*In Scope* * Update the loading of the artifacts tab so that it fetches its data from the new artifacts endpoint built in * Ensure that the name of the artifact is the "full path" * Add a download all button to the Artifacts tab (see screenshot of https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/job/master/lastSuccessfulBuild/artifact/) |
Epic Link | JENKINS-35759 [ 171771 ] | JENKINS-37957 [ 174099 ] |
Labels | adoption |
Description |
*In Scope* * Update the loading of the artifacts tab so that it fetches its data from the new artifacts endpoint built in * Ensure that the name of the artifact is the "full path" * Add a download all button to the Artifacts tab (see screenshot of https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/job/master/lastSuccessfulBuild/artifact/) |
*In Scope* * Update the loading of the artifacts tab so that it fetches its data from the new artifacts endpoint built in * Ensure that the name of the artifact is the "full path" * Add a download all button to the Artifacts tab (see screenshot of https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/job/master/lastSuccessfulBuild/artifact/) * If we are showing the maximum number of artifacts then show message below "Showing first 1000 artifacts" |
Attachment | Failing result - Artifacts.png [ 34862 ] |
Attachment | Failing result - Artifacts.png [ 34864 ] |
Sprint | frank [ 156 ] |
Assignee | Ivan Meredith [ imeredith ] |
Description |
*In Scope* * Update the loading of the artifacts tab so that it fetches its data from the new artifacts endpoint built in * Ensure that the name of the artifact is the "full path" * Add a download all button to the Artifacts tab (see screenshot of https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/job/master/lastSuccessfulBuild/artifact/) * If we are showing the maximum number of artifacts then show message below "Showing first 1000 artifacts" |
*In Scope* * Update the loading of the artifacts tab so that it fetches its data from the new artifacts endpoint built in * Ensure that the name of the artifact is the "full path" * Add a download all button to the Artifacts tab (see screenshot of https://ci.jenkins.io/job/Plugins/job/pipeline-model-definition-plugin/job/master/lastSuccessfulBuild/artifact/) * If we are showing the maximum number of artifacts then show message below "Showing first 100 artifacts" |
Attachment | Failing result - Artifacts.png [ 34864 ] |
Attachment | Failing result - Artifacts.png [ 34865 ] |
Sprint | frank [ 156 ] | tasman [ 136 ] |
Rank | Ranked higher |
Rank | Ranked higher |
Sprint | tasman [ 136 ] | frank [ 156 ] |
Sprint | frank [ 156 ] | tasman [ 136 ] |
Rank | Ranked higher |
Rank | Ranked lower |
Rank | Ranked higher |
Rank | Ranked lower |
Link |
This issue duplicates |
Resolution | Duplicate [ 3 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
James Dumay 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.