Skip to content

Commit

Permalink
Merge pull request #60 from yaoxuwan/issue_59
Browse files Browse the repository at this point in the history
feat: 增加fileGateway #59
  • Loading branch information
carlyin0801 authored Apr 19, 2023
2 parents a523dd0 + deb5c12 commit c25dcca
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,17 @@
| v1.0.5 | 更新jackson到2.12.0 |
| v1.0.6 | 兼容gateway网关地址带协议头情况 |
| v1.0.7 | guava由19.0升级到30.1.1-jre,okhttp由3.12.0升级到4.9.1,ant由1.10.9升级到1.10.10 |
| v1.0.8 | 增加一些工具类,增加一些docker相关代码
| v1.0.9 | ReportData 增加指定发送邮件的参数功能
| v1.1.0 | 命令行工具日志流统一为标准输出流
| v1.1.1 | 规范dockerRun日志输出
| v1.1.2 | 修复Java市场插件默认输出至错误流
| v1.1.3 | 获取插件私有配置优化
| v1.1.4 | 升级jackson开源组件漏洞版本
| v1.1.5 | 新增kubernetes构建资源相关api
| v1.1.6 | 优化日志打印
| v1.0.8 | 增加一些工具类,增加一些docker相关代码 |
| v1.0.9 | ReportData 增加指定发送邮件的参数功能 |
| v1.1.0 | 命令行工具日志流统一为标准输出流 |
| v1.1.1 | 规范dockerRun日志输出 |
| v1.1.2 | 修复Java市场插件默认输出至错误流 |
| v1.1.3 | 获取插件私有配置优化 |
| v1.1.4 | 升级jackson开源组件漏洞版本 |
| v1.1.5 | 新增kubernetes构建资源相关api |
| v1.1.6 | 优化日志打印 |
| v1.1.7 | 新增kubernetes构建资源相关api |
| v1.1.8 | 增加fileGateway |

[TOC]

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.tencent.devops.ci-plugins</groupId>
<artifactId>java-plugin-sdk</artifactId>
<version>1.1.7</version>
<version>1.1.8</version>

<inceptionYear>2018-2118</inceptionYear>
<description>bk-ci pipeline plugins sdk for java</description>
Expand Down
1 change: 0 additions & 1 deletion src/main/java/com/tencent/bk/devops/atom/AtomRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import com.tencent.bk.devops.atom.spi.AtomService;
import com.tencent.bk.devops.atom.spi.ServiceLoader;
import com.tencent.bk.devops.atom.spi.TaskAtom;
import com.tencent.bk.devops.plugin.pojo.ErrorType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down
5 changes: 5 additions & 0 deletions src/main/java/com/tencent/bk/devops/atom/api/SdkEnv.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public class SdkEnv {
private String gateway;
private String buildId;
private String vmSeqId;
private String fileGateway;

private static SdkEnv instance;

Expand Down Expand Up @@ -102,4 +103,8 @@ public static String getGatewayHost() {
public static String getVmSeqId() {
return instance.vmSeqId;
}

public static String getFileGateway() {
return instance.fileGateway;
}
}

0 comments on commit c25dcca

Please sign in to comment.