Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64559

Support page is listing logs files

    XMLWordPrintable

Details

    Description

      In the current UI we are displaying not only the support bundles but also some logs

       

      foo-support_core-mm-bar.foo.com_baz_2020-04-07_10.30.15.zip 
      foo-support_core-mm-bar.foo.com_baz_2020-04-07_10.30.15.zip 
      foo-support_foo-ci-managed-master-bar.foo.com_baz_2020-12-31_12.33.10.zip 
      foo-support_foo-ci-managed-master-bar.foo.com_baz_2020-09-17_18.03.13.zip 
      foo-support_foo-ci-managed-master-bar.foo.com_baz_2020-12-14_17.42.19.zip all_2021-01-06_09.14.20.log 
      foo-support_foo-ci-managed-master-bar.foo.com_baz_2021-01-05_03.00.25.zip all_2021-01-06_07.53.17.log 
      foo-support_foo-ci-managed-master-bar.foo.com_baz_2021-01-05_21.04.55.zip 
      foo-support_foo-ci-managed-master-bar.foo.com_baz_2021-01-06_08.07.40.zip 
      foo-support_foo-ci-managed-master-bar.foo.com_baz_2021-01-06_02.06.10.zip 
      all_2021-01-06_07.21.38.log 
      foo-support_foo-ci-managed-master-bar.foo.com_baz_2021-01-06_07.07.25.zip 
      foo-support_foo-ci-managed-master-bar.foo.com_baz_2021-01-06_09.07.55.zip 
      all_2021-01-06_06.26.56.log 
      all_2021-01-06_03.54.22.log 
      all_2021-01-06_04.46.05.log 
      foo-support_foo-ci-managed-master-bar.foo.com_baz_2021-01-06_05.06.55.zip 
      all_2021-01-06_08.14.20.log 
      all_2021-01-06_05.35.20.log

      We can download and delete them. It's not a big problem but a bit out of the scope of the feature.

       

      I suppose we might list only the zip files or the filename pattern used to generate them (but we have to take care of possible extensions which are changing the filename pattern)

       

      cc allan_burdajewicz

      Attachments

        Activity

          aheritier Arnaud Héritier added a comment - logs are available because of https://github.com/jenkinsci/support-core-plugin/blob/48f90bc968fef8843d8ab198483d5ce944008ed5/src/main/java/com/cloudbees/jenkins/support/SupportAction.java#L138 As found by teilo  it also creates a bug in the download feature because we hardcode the zip mime type :  https://github.com/jenkinsci/support-core-plugin/blob/48f90bc968fef8843d8ab198483d5ce944008ed5/src/main/java/com/cloudbees/jenkins/support/SupportAction.java#L202

          People

            allan_burdajewicz Allan BURDAJEWICZ
            aheritier Arnaud Héritier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: