本文整理了Java中hudson.FilePath.readFromTar()
方法的一些代码示例,展示了FilePath.readFromTar()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FilePath.readFromTar()
方法的具体详情如下:
包路径:hudson.FilePath
类名称:FilePath
方法名:readFromTar
[英]Reads from a tar stream and stores obtained files to the base dir.
[中]从tar流读取并将获得的文件存储到base dir。
代码示例来源:origin: jenkinsci/jenkins
readFromTar(remote + '/' + description,new File(target.remote),TarCompression.GZIP.extract(pipe.getIn()));
} catch (IOException e) {// BuildException or IOException
try {
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
readFromTar(remote + '/' + description,new File(target.remote),TarCompression.GZIP.extract(pipe.getIn()));
} catch (IOException e) {// BuildException or IOException
try {
代码示例来源:origin: org.jvnet.hudson.main/hudson-core
try {
readFromTar(remote + '/' + fileMask, new File(target.remote),
(remoteCompressionType != null? remoteCompressionType.extract(pipe.getIn()) :
FilePath.TarCompression.GZIP.extract(pipe.getIn())));
代码示例来源:origin: hudson/hudson-2.x
try {
readFromTar(remote + '/' + fileMask, new File(target.remote),
(remoteCompressionType != null? remoteCompressionType.extract(pipe.getIn()) :
FilePath.TarCompression.GZIP.extract(pipe.getIn())));
代码示例来源:origin: org.eclipse.hudson.main/hudson-core
try {
readFromTar(remote + '/' + fileMask, new File(target.remote),
(remoteCompressionType != null? remoteCompressionType.extract(pipe.getIn()) :
FilePath.TarCompression.GZIP.extract(pipe.getIn())));
代码示例来源:origin: org.eclipse.hudson/hudson-core
final NativeUtils nativeUtils = NativeUtils.getInstance();
readFromTar(remote + '/' + fileMask, new File(target.remote),
(remoteCompressionType != null ? remoteCompressionType.extract(pipe.getIn())
: FilePath.TarCompression.GZIP.extract(pipe.getIn())), nativeUtils);
内容来源于网络,如有侵权,请联系作者删除!