|
Devin Linnington created JENKINS-13447:
------------------------------------------ Summary: Show link to promotion jobs archived artifacts Key: JENKINS-13447 URL: https://issues.jenkins-ci.org/browse/JENKINS-13447 Project: Jenkins Issue Type: Improvement Components: promoted-builds Affects Versions: current Reporter: Devin Linnington Assignee: Peter Hayes Attachments: promote_builds.png I have a script that copies some QA test results (simple txt files) to the local workspace, and then I have a build action that archives these txt files. !promote_builds.png! The only way I can view these archived artifacts is to manually enter 'artifact/' on the end of the promoted job url, like so: http://jenkins/view/job_view/job/job_name/77/promotion/QA%20Fail/promotionBuild/1/artifact/test_results/ Right now the default page is just the console log, would it be possible to add multiple job-related links the left-hand side, similar to the parent job that was promoted? This would make it a heck of a lot easier to find the artifacts for each promoted build. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
[ https://issues.jenkins-ci.org/browse/JENKINS-13447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Devin Linnington updated JENKINS-13447: --------------------------------------- Description: I have a script that copies some QA test results (simple txt files) to the local workspace, and then I have a build action that archives these txt files. !promote_builds.png|width=900! The only way I can view these archived artifacts is to manually enter 'artifact/' on the end of the promoted job url, like so: http://jenkins/view/job_view/job/job_name/77/promotion/QA%20Fail/promotionBuild/1/artifact/test_results/ Right now the default page is just the console log, would it be possible to add multiple job-related links the left-hand side, similar to the parent job that was promoted? This would make it a heck of a lot easier to find the artifacts for each promoted build. was: I have a script that copies some QA test results (simple txt files) to the local workspace, and then I have a build action that archives these txt files. !promote_builds.png! The only way I can view these archived artifacts is to manually enter 'artifact/' on the end of the promoted job url, like so: http://jenkins/view/job_view/job/job_name/77/promotion/QA%20Fail/promotionBuild/1/artifact/test_results/ Right now the default page is just the console log, would it be possible to add multiple job-related links the left-hand side, similar to the parent job that was promoted? This would make it a heck of a lot easier to find the artifacts for each promoted build. > Show link to promotion jobs archived artifacts > ---------------------------------------------- > > Key: JENKINS-13447 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13447 > Project: Jenkins > Issue Type: Improvement > Components: promoted-builds > Affects Versions: current > Reporter: Devin Linnington > Assignee: Peter Hayes > Labels: archive, artifact > Attachments: promote_builds.png > > > I have a script that copies some QA test results (simple txt files) to the local workspace, and then I have a build action that archives these txt files. > !promote_builds.png|width=900! > The only way I can view these archived artifacts is to manually enter 'artifact/' on the end of the promoted job url, like so: > http://jenkins/view/job_view/job/job_name/77/promotion/QA%20Fail/promotionBuild/1/artifact/test_results/ > Right now the default page is just the console log, would it be possible to add multiple job-related links the left-hand side, similar to the parent job that was promoted? This would make it a heck of a lot easier to find the artifacts for each promoted build. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-13447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161587#comment-161587 ] Devin Linnington commented on JENKINS-13447: -------------------------------------------- The work around for this is to use the PROMOTED_* variables to figure out where the main jobs archive is, then move whatever files there: {code:java} archive_dir="${jenkins_dir}/${PROMOTED_JOB_NAME}/builds/${PROMOTED_NUMBER}/archive/" if [ -d "$archive_dir" ]; then mv test_results $archive_dir else echo "#### Error: archive directory does not exist" fi {code} This is actually better for my users than the original idea, so feel free to close this if you wish. -Devin > Show link to promotion jobs archived artifacts > ---------------------------------------------- > > Key: JENKINS-13447 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13447 > Project: Jenkins > Issue Type: Improvement > Components: promoted-builds > Affects Versions: current > Reporter: Devin Linnington > Assignee: Peter Hayes > Labels: archive, artifact > Attachments: promote_builds.png > > > I have a script that copies some QA test results (simple txt files) to the local workspace, and then I have a build action that archives these txt files. > !promote_builds.png|width=900! > The only way I can view these archived artifacts is to manually enter 'artifact/' on the end of the promoted job url, like so: > http://jenkins/view/job_view/job/job_name/77/promotion/QA%20Fail/promotionBuild/1/artifact/test_results/ > Right now the default page is just the console log, would it be possible to add multiple job-related links the left-hand side, similar to the parent job that was promoted? This would make it a heck of a lot easier to find the artifacts for each promoted build. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
| Powered by Nabble | Edit this page |

I think I've the same problem: when I add an action to a manual promotion to archive artifacts, I don't see any element in the Jenkins UI with which I can reach the archived artifacts.
Having named "Release" such a promotion job, looking at the server file system the archived artifacts are placed in ~/jobs/SemplaERA_BancaSella/promotions/Release.
Could this be fixed? I don't want to archive the artifacts for ANY build, but only for the promoted ones. And if the archived artifacts are not reachable from within Jenkins, the archive functionality is quite useless.