Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
jenkins
提交
3701a327
J
jenkins
项目概览
LinuxSuRen
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3701a327
编写于
6月 03, 2013
作者:
J
Jesse Glick
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[JENKINS-14362] Switch to jzlib for GZIP streaming.
上级
ed4ab532
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
24 addition
and
25 deletion
+24
-25
cli/pom.xml
cli/pom.xml
+1
-1
core/pom.xml
core/pom.xml
+2
-2
core/src/main/java/hudson/FilePath.java
core/src/main/java/hudson/FilePath.java
+3
-3
core/src/main/java/hudson/console/AnnotatedLargeText.java
core/src/main/java/hudson/console/AnnotatedLargeText.java
+2
-2
core/src/main/java/hudson/console/ConsoleNote.java
core/src/main/java/hudson/console/ConsoleNote.java
+2
-2
core/src/main/java/hudson/model/Run.java
core/src/main/java/hudson/model/Run.java
+1
-1
core/src/main/java/hudson/model/UsageStatistics.java
core/src/main/java/hudson/model/UsageStatistics.java
+1
-1
core/src/main/java/hudson/security/HudsonAuthenticationEntryPoint.java
.../java/hudson/security/HudsonAuthenticationEntryPoint.java
+0
-1
core/src/main/java/hudson/util/CompressedFile.java
core/src/main/java/hudson/util/CompressedFile.java
+2
-2
maven-plugin/pom.xml
maven-plugin/pom.xml
+1
-1
plugins/pom.xml
plugins/pom.xml
+5
-5
pom.xml
pom.xml
+1
-1
test/pom.xml
test/pom.xml
+1
-1
ui-samples-plugin/pom.xml
ui-samples-plugin/pom.xml
+1
-1
war/pom.xml
war/pom.xml
+1
-1
未找到文件。
cli/pom.xml
浏览文件 @
3701a327
...
...
@@ -5,7 +5,7 @@
<parent>
<artifactId>
pom
</artifactId>
<groupId>
org.jenkins-ci.main
</groupId>
<version>
1.513
</version>
<version>
1.513
.JENKINS-14362-jzlib
</version>
</parent>
<artifactId>
cli
</artifactId>
...
...
core/pom.xml
浏览文件 @
3701a327
...
...
@@ -29,7 +29,7 @@ THE SOFTWARE.
<parent>
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
pom
</artifactId>
<version>
1.513
</version>
<version>
1.513
.JENKINS-14362-jzlib
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
...
...
@@ -42,7 +42,7 @@ THE SOFTWARE.
<properties>
<staplerFork>
true
</staplerFork>
<stapler.version>
1.207
</stapler.version>
<stapler.version>
1.207
.JENKINS-14362-jzlib
</stapler.version>
<spring.version>
2.5.6.SEC03
</spring.version>
</properties>
...
...
core/src/main/java/hudson/FilePath.java
浏览文件 @
3701a327
...
...
@@ -92,8 +92,8 @@ import java.util.regex.Pattern;
import
java.util.concurrent.ExecutionException
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.TimeoutException
;
import
java.util.zip.GZIPOut
putStream
;
import
java.util.zip.GZIPIn
putStream
;
import
com.jcraft.jzlib.GZIPIn
putStream
;
import
com.jcraft.jzlib.GZIPOut
putStream
;
import
com.sun.jna.Native
;
import
hudson.os.PosixException
;
...
...
@@ -619,7 +619,7 @@ public final class FilePath implements Serializable {
public
InputStream
extract
(
InputStream
_in
)
throws
IOException
{
HeadBufferingStream
in
=
new
HeadBufferingStream
(
_in
,
SIDE_BUFFER_SIZE
);
try
{
return
new
GZIPInputStream
(
in
,
8192
);
return
new
GZIPInputStream
(
in
,
8192
,
true
);
}
catch
(
IOException
e
)
{
// various people reported "java.io.IOException: Not in GZIP format" here, so diagnose this problem better
in
.
fillSide
();
...
...
core/src/main/java/hudson/console/AnnotatedLargeText.java
浏览文件 @
3701a327
...
...
@@ -51,8 +51,8 @@ import java.io.OutputStream;
import
java.io.Writer
;
import
java.nio.charset.Charset
;
import
java.security.GeneralSecurityException
;
import
java.util.zip
.GZIPInputStream
;
import
java.util.zip
.GZIPOutputStream
;
import
com.jcraft.jzlib
.GZIPInputStream
;
import
com.jcraft.jzlib
.GZIPOutputStream
;
import
static
java
.
lang
.
Math
.
abs
;
...
...
core/src/main/java/hudson/console/ConsoleNote.java
浏览文件 @
3701a327
...
...
@@ -50,8 +50,8 @@ import java.util.ArrayList;
import
java.util.Arrays
;
import
java.util.Collection
;
import
java.util.List
;
import
java.util.zip
.GZIPInputStream
;
import
java.util.zip
.GZIPOutputStream
;
import
com.jcraft.jzlib
.GZIPInputStream
;
import
com.jcraft.jzlib
.GZIPOutputStream
;
/**
* Data that hangs off from a console output.
...
...
core/src/main/java/hudson/model/Run.java
浏览文件 @
3701a327
...
...
@@ -91,7 +91,7 @@ import java.util.Set;
import
java.util.HashSet
;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
import
java.util.zip
.GZIPInputStream
;
import
com.jcraft.jzlib
.GZIPInputStream
;
import
javax.servlet.ServletException
;
import
javax.servlet.http.HttpServletResponse
;
...
...
core/src/main/java/hudson/model/UsageStatistics.java
浏览文件 @
3701a327
...
...
@@ -59,7 +59,7 @@ import java.security.interfaces.RSAPublicKey;
import
java.security.spec.X509EncodedKeySpec
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.zip
.GZIPOutputStream
;
import
com.jcraft.jzlib
.GZIPOutputStream
;
/**
* @author Kohsuke Kawaguchi
...
...
core/src/main/java/hudson/security/HudsonAuthenticationEntryPoint.java
浏览文件 @
3701a327
...
...
@@ -42,7 +42,6 @@ import java.io.OutputStreamWriter;
import
java.io.PrintWriter
;
import
java.net.URLEncoder
;
import
java.text.MessageFormat
;
import
java.util.zip.GZIPOutputStream
;
/**
* For anonymous requests to pages that require authentication,
...
...
core/src/main/java/hudson/util/CompressedFile.java
浏览文件 @
3701a327
...
...
@@ -40,8 +40,8 @@ import java.util.concurrent.ThreadPoolExecutor;
import
java.util.concurrent.TimeUnit
;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
import
java.util.zip
.GZIPInputStream
;
import
java.util.zip
.GZIPOutputStream
;
import
com.jcraft.jzlib
.GZIPInputStream
;
import
com.jcraft.jzlib
.GZIPOutputStream
;
/**
* Represents write-once read-many file that can be optiionally compressed
...
...
maven-plugin/pom.xml
浏览文件 @
3701a327
...
...
@@ -29,7 +29,7 @@ THE SOFTWARE.
<parent>
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
pom
</artifactId>
<version>
1.513
</version>
<version>
1.513
.JENKINS-14362-jzlib
</version>
</parent>
<artifactId>
maven-plugin
</artifactId>
...
...
plugins/pom.xml
浏览文件 @
3701a327
...
...
@@ -38,7 +38,7 @@
<dependency>
<!-- if a plugin wants to depend on the maven plugin, choose the right version automatically -->
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
maven-plugin
</artifactId>
<version>
1.513
</version>
<version>
1.513
.JENKINS-14362-jzlib
</version>
</dependency>
</dependencies>
</dependencyManagement>
...
...
@@ -48,25 +48,25 @@
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
jenkins-war
</artifactId>
<type>
war
</type>
<version>
1.513
</version>
<version>
1.513
.JENKINS-14362-jzlib
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
jenkins-core
</artifactId>
<version>
1.513
</version>
<version>
1.513
.JENKINS-14362-jzlib
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
jenkins-test-harness
</artifactId>
<version>
1.513
</version>
<version>
1.513
.JENKINS-14362-jzlib
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
ui-samples-plugin
</artifactId>
<version>
1.513
</version>
<version>
1.513
.JENKINS-14362-jzlib
</version>
<scope>
test
</scope>
</dependency>
<!--
...
...
pom.xml
浏览文件 @
3701a327
...
...
@@ -33,7 +33,7 @@ THE SOFTWARE.
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
pom
</artifactId>
<version>
1.513
</version>
<version>
1.513
.JENKINS-14362-jzlib
</version>
<packaging>
pom
</packaging>
<name>
Jenkins main module
</name>
...
...
test/pom.xml
浏览文件 @
3701a327
...
...
@@ -29,7 +29,7 @@ THE SOFTWARE.
<parent>
<artifactId>
pom
</artifactId>
<groupId>
org.jenkins-ci.main
</groupId>
<version>
1.513
</version>
<version>
1.513
.JENKINS-14362-jzlib
</version>
</parent>
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
jenkins-test-harness
</artifactId>
...
...
ui-samples-plugin/pom.xml
浏览文件 @
3701a327
...
...
@@ -29,7 +29,7 @@ THE SOFTWARE.
<parent>
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
pom
</artifactId>
<version>
1.513
</version>
<version>
1.513
.JENKINS-14362-jzlib
</version>
</parent>
<artifactId>
ui-samples-plugin
</artifactId>
...
...
war/pom.xml
浏览文件 @
3701a327
...
...
@@ -28,7 +28,7 @@ THE SOFTWARE.
<parent>
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
pom
</artifactId>
<version>
1.513
</version>
<version>
1.513
.JENKINS-14362-jzlib
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录