• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • core
    • None

      There's a support for gzip log in case of console test shown in UI, but is missing in case of raw text (consoleText link) and fails with file not found exception. Add gzip support also for plain text.

          [JENKINS-10400] gzip support for consoleText

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          core/src/main/java/hudson/model/Run.java
          http://jenkins-ci.org/commit/jenkins/af7159c8e796c44c2090137e17c4aa6a3fef5fed
          Log:
          JENKINS-10400 Added support for gzip log file also in case of raw text (consoleText link)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: core/src/main/java/hudson/model/Run.java http://jenkins-ci.org/commit/jenkins/af7159c8e796c44c2090137e17c4aa6a3fef5fed Log: JENKINS-10400 Added support for gzip log file also in case of raw text (consoleText link)

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/343d3ac722f5f400ccc35c0d5018c3092be25167
          Log:
          JENKINS-10400 Added changelog record

          Compare: https://github.com/jenkinsci/jenkins/compare/dcabd4b...343d3ac

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: changelog.html http://jenkins-ci.org/commit/jenkins/343d3ac722f5f400ccc35c0d5018c3092be25167 Log: JENKINS-10400 Added changelog record Compare: https://github.com/jenkinsci/jenkins/compare/dcabd4b...343d3ac

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          core/src/main/java/hudson/model/Run.java
          http://jenkins-ci.org/commit/jenkins/af7159c8e796c44c2090137e17c4aa6a3fef5fed
          Log:
          JENKINS-10400 Added support for gzip log file also in case of raw text (consoleText link)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: core/src/main/java/hudson/model/Run.java http://jenkins-ci.org/commit/jenkins/af7159c8e796c44c2090137e17c4aa6a3fef5fed Log: JENKINS-10400 Added support for gzip log file also in case of raw text (consoleText link)

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/343d3ac722f5f400ccc35c0d5018c3092be25167
          Log:
          JENKINS-10400 Added changelog record

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: changelog.html http://jenkins-ci.org/commit/jenkins/343d3ac722f5f400ccc35c0d5018c3092be25167 Log: JENKINS-10400 Added changelog record

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          core/src/main/java/hudson/model/Run.java
          http://jenkins-ci.org/commit/jenkins/af7159c8e796c44c2090137e17c4aa6a3fef5fed
          Log:
          JENKINS-10400 Added support for gzip log file also in case of raw text (consoleText link)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: core/src/main/java/hudson/model/Run.java http://jenkins-ci.org/commit/jenkins/af7159c8e796c44c2090137e17c4aa6a3fef5fed Log: JENKINS-10400 Added support for gzip log file also in case of raw text (consoleText link)

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/343d3ac722f5f400ccc35c0d5018c3092be25167
          Log:
          JENKINS-10400 Added changelog record

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: changelog.html http://jenkins-ci.org/commit/jenkins/343d3ac722f5f400ccc35c0d5018c3092be25167 Log: JENKINS-10400 Added changelog record

          Code changed in jenkins
          User: Martin Schroeder
          Path:
          core/src/main/java/hudson/console/AnnotatedLargeText.java
          core/src/main/java/hudson/model/Run.java
          core/src/main/resources/hudson/model/Run/console.jelly
          http://jenkins-ci.org/commit/jenkins/346fc998b16f2021cbd6b3bb1cd1878a2b19ff5b
          Log:
          Enabled transparent compression support.

          This only works if the "transparent GZIP support" patch has been
          applied against Stapler. Otherwise, this patch will not compile
          as the new "LargeText" constructor will not be found.

          Additionally, the console.jelly was modified to make use of the
          stream instead of the raw file, which is necessary to get the
          correct uncompressed size of the file for skipping bytes.

          JENKINS-2551
          JENKINS-10400
          JENKINS-13655

          Signed-off-by: Martin Schroeder <martin.h.schroeder@intel.com>

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Martin Schroeder Path: core/src/main/java/hudson/console/AnnotatedLargeText.java core/src/main/java/hudson/model/Run.java core/src/main/resources/hudson/model/Run/console.jelly http://jenkins-ci.org/commit/jenkins/346fc998b16f2021cbd6b3bb1cd1878a2b19ff5b Log: Enabled transparent compression support. This only works if the "transparent GZIP support" patch has been applied against Stapler. Otherwise, this patch will not compile as the new "LargeText" constructor will not be found. Additionally, the console.jelly was modified to make use of the stream instead of the raw file, which is necessary to get the correct uncompressed size of the file for skipping bytes. JENKINS-2551 JENKINS-10400 JENKINS-13655 Signed-off-by: Martin Schroeder <martin.h.schroeder@intel.com>

            vjuranek vjuranek
            vjuranek vjuranek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: