Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
4a2438c2
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
4a2438c2
编写于
1月 03, 2022
作者:
L
liuyq-617
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
(full)test
上级
d73be1bc
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
34 addition
and
50 deletion
+34
-50
Jenkinsfile
Jenkinsfile
+34
-50
未找到文件。
Jenkinsfile
浏览文件 @
4a2438c2
...
@@ -55,10 +55,10 @@ def pre_test(){
...
@@ -55,10 +55,10 @@ def pre_test(){
git checkout master
git checkout master
'''
'''
}
}
else
if
(
env
.
CHANGE_TARGET
==
'2.
4
'
){
else
if
(
env
.
CHANGE_TARGET
==
'2.
0
'
){
sh
'''
sh
'''
cd ${WKC}
cd ${WKC}
git checkout 2.
4
git checkout 2.
0
'''
'''
}
}
else
{
else
{
...
@@ -87,10 +87,10 @@ def pre_test(){
...
@@ -87,10 +87,10 @@ def pre_test(){
git checkout master
git checkout master
'''
'''
}
}
else
if
(
env
.
CHANGE_TARGET
==
'2.
4
'
){
else
if
(
env
.
CHANGE_TARGET
==
'2.
0
'
){
sh
'''
sh
'''
cd ${WK}
cd ${WK}
git checkout 2.
4
git checkout 2.
0
'''
'''
}
}
else
{
else
{
...
@@ -130,10 +130,10 @@ def pre_test_noinstall(){
...
@@ -130,10 +130,10 @@ def pre_test_noinstall(){
git checkout master
git checkout master
'''
'''
}
}
else
if
(
env
.
CHANGE_TARGET
==
'2.
4
'
){
else
if
(
env
.
CHANGE_TARGET
==
'2.
0
'
){
sh
'''
sh
'''
cd ${WKC}
cd ${WKC}
git checkout 2.
4
git checkout 2.
0
'''
'''
}
}
else
{
else
{
...
@@ -162,10 +162,10 @@ def pre_test_noinstall(){
...
@@ -162,10 +162,10 @@ def pre_test_noinstall(){
git checkout master
git checkout master
'''
'''
}
}
else
if
(
env
.
CHANGE_TARGET
==
'2.
4
'
){
else
if
(
env
.
CHANGE_TARGET
==
'2.
0
'
){
sh
'''
sh
'''
cd ${WK}
cd ${WK}
git checkout 2.
4
git checkout 2.
0
'''
'''
}
}
else
{
else
{
...
@@ -202,10 +202,10 @@ def pre_test_mac(){
...
@@ -202,10 +202,10 @@ def pre_test_mac(){
git checkout master
git checkout master
'''
'''
}
}
else
if
(
env
.
CHANGE_TARGET
==
'2.
4
'
){
else
if
(
env
.
CHANGE_TARGET
==
'2.
0
'
){
sh
'''
sh
'''
cd ${WKC}
cd ${WKC}
git checkout 2.
4
git checkout 2.
0
'''
'''
}
}
else
{
else
{
...
@@ -234,10 +234,10 @@ def pre_test_mac(){
...
@@ -234,10 +234,10 @@ def pre_test_mac(){
git checkout master
git checkout master
'''
'''
}
}
else
if
(
env
.
CHANGE_TARGET
==
'2.
4
'
){
else
if
(
env
.
CHANGE_TARGET
==
'2.
0
'
){
sh
'''
sh
'''
cd ${WK}
cd ${WK}
git checkout 2.
4
git checkout 2.
0
'''
'''
}
}
else
{
else
{
...
@@ -280,10 +280,10 @@ def pre_test_win(){
...
@@ -280,10 +280,10 @@ def pre_test_win(){
git checkout master
git checkout master
'''
'''
}
}
else
if
(
env
.
CHANGE_TARGET
==
'2.
4
'
){
else
if
(
env
.
CHANGE_TARGET
==
'2.
0
'
){
bat
'''
bat
'''
cd C:\\workspace\\TDinternal\\community
cd C:\\workspace\\TDinternal\\community
git checkout 2.
4
git checkout 2.
0
'''
'''
}
}
else
{
else
{
...
@@ -311,10 +311,10 @@ def pre_test_win(){
...
@@ -311,10 +311,10 @@ def pre_test_win(){
git checkout master
git checkout master
'''
'''
}
}
else
if
(
env
.
CHANGE_TARGET
==
'2.
4
'
){
else
if
(
env
.
CHANGE_TARGET
==
'2.
0
'
){
bat
'''
bat
'''
cd C:\\workspace\\TDinternal
cd C:\\workspace\\TDinternal
git checkout 2.
4
git checkout 2.
0
'''
'''
}
}
else
{
else
{
...
@@ -494,32 +494,24 @@ pipeline {
...
@@ -494,32 +494,24 @@ pipeline {
steps
{
steps
{
pre_test
()
pre_test
()
timeout
(
time:
100
,
unit:
'MINUTES'
){
timeout
(
time:
100
,
unit:
'MINUTES'
){
script
{
scope
.
each
{
sh
"""
sh
"""
date
date
cd ${WKC}/tests
cd ${WKC}/tests
./test-CI.sh sim 4 ${sim_mod[0]}
./test-CI.sh sim 4 ${sim_mod[0]}
date"""
date"""
}
}
}
}
}
}
}
}
stage
(
'sim_2'
)
{
stage
(
'sim_2'
)
{
agent
{
label
" slave7 || slave17 "
}
agent
{
label
" slave7 || slave17 "
}
steps
{
steps
{
pre_test
()
pre_test
()
timeout
(
time:
100
,
unit:
'MINUTES'
){
timeout
(
time:
100
,
unit:
'MINUTES'
){
script
{
sh
"""
scope
.
each
{
date
sh
"""
cd ${WKC}/tests
date
./test-CI.sh sim 4 ${sim_mod[1]}
cd ${WKC}/tests
date"""
./test-CI.sh sim 4 ${sim_mod[1]}
date"""
}
}
}
}
}
}
}
}
...
@@ -528,15 +520,11 @@ pipeline {
...
@@ -528,15 +520,11 @@ pipeline {
steps
{
steps
{
timeout
(
time:
105
,
unit:
'MINUTES'
){
timeout
(
time:
105
,
unit:
'MINUTES'
){
pre_test
()
pre_test
()
script
{
sh
"""
scope
.
each
{
date
sh
"""
cd ${WKC}/tests
date
./test-CI.sh sim 4 ${sim_mod[2]}
cd ${WKC}/tests
date"""
./test-CI.sh sim 4 ${sim_mod[2]}
date"""
}
}
}
}
}
}
}
}
...
@@ -545,18 +533,14 @@ pipeline {
...
@@ -545,18 +533,14 @@ pipeline {
steps
{
steps
{
timeout
(
time:
100
,
unit:
'MINUTES'
){
timeout
(
time:
100
,
unit:
'MINUTES'
){
pre_test
()
pre_test
()
script
{
sh
"""
scope
.
each
{
date
sh
"""
cd ${WKC}/tests
date
./test-CI.sh sim 4 ${sim_mod[3]}
cd ${WKC}/tests
date"""
./test-CI.sh sim 4 ${sim_mod[3]}
date"""
}
}
}
}
}
}
}
}
stage
(
'other'
)
{
stage
(
'other'
)
{
agent
{
label
" slave10 || slave20 "
}
agent
{
label
" slave10 || slave20 "
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录