hudson.FilePath.readFromTar()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(159)

本文整理了Java中hudson.FilePath.readFromTar()方法的一些代码示例,展示了FilePath.readFromTar()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FilePath.readFromTar()方法的具体详情如下:
包路径:hudson.FilePath
类名称:FilePath
方法名:readFromTar

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);

相关文章