-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PullRequest: 2 add test for slot store
Signed-off-by: 向旭 <[email protected]> * What type of PR is this? add test for slot What this PR does / why we need it: Which issue(s) this PR fixes: Special notes for your reviewer: Does this PR introduce a user-facing change?: What type of PR is this? add test for slotstore What this PR does / why we need it: Which issue(s) this PR fixes: Special notes for your reviewer: Does this PR introduce a user-facing change?:
- Loading branch information
源三
committed
Nov 27, 2020
1 parent
64e76ff
commit b67cac0
Showing
40 changed files
with
468 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
stages: # 定义了一条pipeline | ||
- 代码检测 # 定义了stage | ||
- 单元测试 | ||
- 编译 | ||
#- 发布JAR包 | ||
|
||
PMD扫描: # 定义了一个job | ||
stage: 代码检测 # 绑定到stage | ||
plugin: PMD # 指定使用的插件 | ||
checkRule: # 校验结果 | ||
- pmd1 = 0 && pmd2 = 0 | ||
|
||
STC扫描: | ||
stage: 代码检测 | ||
plugin: STC | ||
checkRule: | ||
- stc = 0 | ||
|
||
单元测试: | ||
stage: 单元测试 | ||
plugin: UT | ||
checkRule: | ||
- passRate = 100 | ||
pluginConfig: | ||
markdown: admin/result.md # 向页面输出一些自定义内容 | ||
|
||
编译: | ||
stage: 编译 | ||
plugin: ANT-BUILD # 使用插件ANT-BUILD | ||
pluginConfig: | ||
image: reg.docker.alibaba-inc.com/antb/sofa-build:0.0.2 | ||
script: | ||
- export PATH=$PATH:/opt/taobao/java/bin:/opt/taobao/maven/bin | ||
- java -version | ||
- mvn -version | ||
- mvn clean package -Dmaven.test.skip=true -Pdev | ||
outputs: | ||
- name: registry.tgz | ||
paths: ["./distribution-enterprise/alipay/target/registry.tgz"] | ||
|
||
发布JAR包: | ||
stage: 发布JAR包 | ||
plugin: ANT-BUILD | ||
pluginConfig: | ||
image: reg.docker.alibaba-inc.com/antb/jarbuild:0.0.1 | ||
script: | ||
- java -version | ||
- mvn -version | ||
- sed -i '/<mirrors>/,/<\/mirrors>/d' /opt/taobao/maven_settings/settings-release.xml | ||
- sed -i '/<profiles>/,/<\/profiles>/d' /opt/taobao/maven_settings/settings-release.xml | ||
- mvn clean deploy -Dmaven.test.skip=true -s /opt/taobao/maven_settings/settings-release.xml -Pdev -Pantcode-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
stages: # 定义了一条pipeline | ||
- 代码检测 # 定义了stage | ||
- 单元测试 | ||
- 编译 | ||
#- 发布JAR包 | ||
|
||
PMD扫描: # 定义了一个job | ||
stage: 代码检测 # 绑定到stage | ||
plugin: PMD # 指定使用的插件 | ||
checkRule: # 校验结果 | ||
- pmd1 = 0 && pmd2 = 0 | ||
|
||
STC扫描: | ||
stage: 代码检测 | ||
plugin: STC | ||
checkRule: | ||
- stc = 0 | ||
|
||
单元测试: | ||
stage: 单元测试 | ||
plugin: UT | ||
checkRule: | ||
- passRate = 100 | ||
pluginConfig: | ||
markdown: admin/result.md # 向页面输出一些自定义内容 | ||
|
||
编译: | ||
stage: 编译 | ||
plugin: ANT-BUILD # 使用插件ANT-BUILD | ||
pluginConfig: | ||
image: reg.docker.alibaba-inc.com/antb/sofa-build:0.0.2 | ||
script: | ||
- export PATH=$PATH:/opt/taobao/java/bin:/opt/taobao/maven/bin | ||
- java -version | ||
- mvn -version | ||
- mvn clean package -Dmaven.test.skip=true -Ptest | ||
outputs: | ||
- name: registry.tgz | ||
paths: ["./distribution-enterprise/alipay/target/registry.tgz"] | ||
|
||
发布JAR包: | ||
stage: 发布JAR包 | ||
plugin: ANT-BUILD | ||
pluginConfig: | ||
image: reg.docker.alibaba-inc.com/antb/jarbuild:0.0.1 | ||
script: | ||
- java -version | ||
- mvn -version | ||
- sed -i '/<mirrors>/,/<\/mirrors>/d' /opt/taobao/maven_settings/settings-release.xml | ||
- sed -i '/<profiles>/,/<\/profiles>/d' /opt/taobao/maven_settings/settings-release.xml | ||
- mvn clean deploy -Dmaven.test.skip=true -s /opt/taobao/maven_settings/settings-release.xml -Ptest -Pantcode-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.