[JIRA] (JENKINS-37694) link to archived build artifacts is hidden until pipeline has finished

4 views
Skip to first unread message

lklrmn@gmail.com (JIRA)

unread,
Aug 25, 2016, 3:19:01 PM8/25/16
to jenkinsc...@googlegroups.com
Leah Klearman created an issue
 
Jenkins / Bug JENKINS-37694
link to archived build artifacts is hidden until pipeline has finished
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2016/Aug/25 7:18 PM
Environment: Jenkins 2.x, Pipeline job.
Labels: workflow
Priority: Minor Minor
Reporter: Leah Klearman

jglick
klrmn: hah. Works fine in stage view, but https://github.com/jenkinsci/jenkins/blob/ee447af7e8e283ff50032532a571766f810ea061/core/src/main/resources/lib/hudson/artifactList.jelly#L44 explicitly hides it during the build, for no reason I can see.

Test case: stage 'All'; node

{writeFile file: 'f.txt', text: 'hello'; archive 'f.txt'; input 'hold on'}

Workaround: manually append `artifact/` to build index URL.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

dbeck@cloudbees.com (JIRA)

unread,
Aug 29, 2016, 10:50:05 AM8/29/16
to jenkinsc...@googlegroups.com
Daniel Beck commented on Bug JENKINS-37694
 
Re: link to archived build artifacts is hidden until pipeline has finished

The reason is that regular projects archive artifacts as last step, and you probably don't want to show / allow downloading a partial archive. So any solution will need to ensure that the current archiving action has been completed.

dbeck@cloudbees.com (JIRA)

unread,
Aug 29, 2016, 10:56:01 AM8/29/16
to jenkinsc...@googlegroups.com
Daniel Beck edited a comment on Bug JENKINS-37694
The reason is (my guess) that regular projects archive artifacts as last step, and you probably don't want to show / allow downloading a partial archive. So any solution will need to ensure that the current archiving action has been completed.

jglick@cloudbees.com (JIRA)

unread,
Aug 29, 2016, 3:32:02 PM8/29/16
to jenkinsc...@googlegroups.com

you probably don't want to show / allow downloading a partial archive

I suppose. Not obvious to me what the risk is.

dbeck@cloudbees.com (JIRA)

unread,
Aug 29, 2016, 3:42:04 PM8/29/16
to jenkinsc...@googlegroups.com

Jesse Glick Someone downloads artifacts. Let's ignore the possibility that it'll result in half-archived files / broken archives when a file is still being written to, there's still a chance that the archive is incomplete if some files are not yet finished. Now there's an archive around that doesn't have all the things in it. Seems like there's only pain and suffering in that direction.

jenkins@beakerware.net (JIRA)

unread,
Sep 13, 2016, 10:38:03 PM9/13/16
to jenkinsc...@googlegroups.com

I thought we could view archived artifacts before. In our workflow, I've been holding a parallel step open to keep a VM around until the developer could look at the failure and triage it (cloud causes the VM to go poof as soon as the node is done). We upload logs before an input stage; now they aren't visible.

kivagant@gmail.com (JIRA)

unread,
Apr 6, 2020, 2:22:03 PM4/6/20
to jenkinsc...@googlegroups.com
Eugene G commented on Bug JENKINS-37694

Matthias Balke, where do you see the download icon? I have a prompt dialog in my pipeline and when it's waiting for a user's response, nobody can see archived artifacts.

Do you know any workarounds? Is it possible to write own function in a shared library that will attach files to the build immediately?

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

chead@chead.ca (JIRA)

unread,
Apr 7, 2020, 12:00:11 AM4/7/20
to jenkinsc...@googlegroups.com

chead@chead.ca (JIRA)

unread,
Apr 7, 2020, 12:00:12 AM4/7/20
to jenkinsc...@googlegroups.com
Christopher Head commented on Bug JENKINS-37694
 
Re: link to archived build artifacts is hidden until pipeline has finished

It’s here, not on the page where you see details about a specific build but on the page above that one, where you see information about all builds in a branch or project.

kivagant@gmail.com (JIRA)

unread,
Apr 13, 2020, 4:01:03 PM4/13/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages