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

Do not archive "simulation.log" file on Jenkins filesystem

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • gatling-plugin
    • None

      The log file simulation.log with all logs of gatling simulation process is actually archived with the html report on Jenkins filesystem.

      This file can be massive and can cause filesystem saturation.

       

      It is possible to ignore the file by launching a sh command before the call of gatlingArchive() :

      sh "find $WORKSPACE -name 'simulation.log' -type f -delete"
      gatlingArchive()

      In our case a lot of users are using the same instance of Jenkins and if someone forget to remove the file before archive, it can cause troubles for others users.

      I suggest to add an option to keep or not this file in gatling archive, or to simply remove it from the archive.

            Unassigned Unassigned
            mat1e mat1e
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: