Hide Forgot
Description of problem: After schedule some job you'll get some results. It would be nice to have a possibility to export these results as csv / xml / ... Version-Release number of selected component (if applicable): Version - 0.6.4 How reproducible: Always Steps to Reproduce: 1. Schedule some job 2. You have link to status but it's not exportable (javascript and so) Actual results: No export Expected results: Possible export job results to csv / xml / ... Additional info:
you can use bkr job-results J:1234 to get the job results out via xml. Does that do what you need?
Yes, that's what I need. I can do it in command line but I think it could be nice to have it implemented to web-ui. Anyway, that command prints all data to stdout, which is not so nice. Is there any option for redirecting to file (like -f myresults.xml) or it could redirect these results automatically like job-results-<job_id>.xml (instead of bkr job-results ... > myresults.xml) .
Why is redirecting to a file so hard? use a $var when you do the call jobid=1234 && bkr job-results J:$jobid > job-results-$jobid.xml
Are you happy enough with something like: https://beaker.engineering.redhat.com/jobs/to_xml?id=1 ? Use-Case: 1. click, click, click. 2. Want to save this: click, click. 3. continue with 1. Can we change the format to xml by passing argument and provide a link somewhere for mouse addicted people?
Well, it's great but I have one more recommendation. If we have this function in web-ui now it would be great to have some button which do this job on job page. If there is something like this please navigate me because I can't see it. Thanks.
(In reply to comment #5) > Well, it's great but I have one more recommendation. If we have this function > in web-ui now it would be great to have some button which do this job on job > page. If there is something like this please navigate me because I can't see > it. > Thanks. I agree, we should be able to add a link "download xml" or something on the job page. Maybe it should be under the actions section.