“a84a47e36c8729ad53aa4eebfcc88a63fcad02a2”上不存在“docs/en/08-third-party/01-grafana.md”
未验证 提交 e35d4996 编写于 作者: H Hui Li 提交者: GitHub

Merge pull request #9832 from taosdata/CI/TD-12913

[TD-12913]<CI>add taos-tools compile on Arms
...@@ -78,6 +78,8 @@ def pre_test(){ ...@@ -78,6 +78,8 @@ def pre_test(){
git checkout -qf FETCH_HEAD git checkout -qf FETCH_HEAD
git clean -dfx git clean -dfx
git submodule update --init --recursive git submodule update --init --recursive
cd src/kit/taos-tools/deps/avro
git clean -dfx
cd ${WK} cd ${WK}
git reset --hard HEAD~10 git reset --hard HEAD~10
''' '''
...@@ -154,6 +156,8 @@ def pre_test_noinstall(){ ...@@ -154,6 +156,8 @@ def pre_test_noinstall(){
git checkout -qf FETCH_HEAD git checkout -qf FETCH_HEAD
git clean -dfx git clean -dfx
git submodule update --init --recursive git submodule update --init --recursive
cd src/kit/taos-tools/deps/avro
git clean -dfx
cd ${WK} cd ${WK}
git reset --hard HEAD~10 git reset --hard HEAD~10
''' '''
...@@ -186,7 +190,7 @@ def pre_test_noinstall(){ ...@@ -186,7 +190,7 @@ def pre_test_noinstall(){
git clean -dfx git clean -dfx
mkdir debug mkdir debug
cd debug cd debug
cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=false > /dev/null cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true > /dev/null
make make
''' '''
return 1 return 1
...@@ -227,6 +231,8 @@ def pre_test_mac(){ ...@@ -227,6 +231,8 @@ def pre_test_mac(){
git checkout -qf FETCH_HEAD git checkout -qf FETCH_HEAD
git clean -dfx git clean -dfx
git submodule update --init --recursive git submodule update --init --recursive
cd src/kit/taos-tools/deps/avro
git clean -dfx
cd ${WK} cd ${WK}
git reset --hard HEAD~10 git reset --hard HEAD~10
''' '''
...@@ -355,7 +361,7 @@ pipeline { ...@@ -355,7 +361,7 @@ pipeline {
} }
stages { stages {
stage('pre_build'){ stage('pre_build'){
agent{label 'catalina'} agent{label 'master'}
options { skipDefaultCheckout() } options { skipDefaultCheckout() }
when { when {
changeRequest() changeRequest()
...@@ -364,36 +370,11 @@ pipeline { ...@@ -364,36 +370,11 @@ pipeline {
script{ script{
abort_previous() abort_previous()
abortPreviousBuilds() abortPreviousBuilds()
println env.CHANGE_BRANCH scope = ['connector','query','insert','other','tools','taosAdapter']
if(env.CHANGE_FORK){ Collections.shuffle mod
scope = ['connector','query','insert','other','tools','taosAdapter'] Collections.shuffle sim_mod
}
else{
sh'''
cd ${WKC}
git reset --hard HEAD~10
git fetch
git checkout ${CHANGE_BRANCH}
git pull
'''
dir('/var/lib/jenkins/workspace/TDinternal/community'){
gitlog = sh(script: "git log -1 --pretty=%B ", returnStdout:true)
println gitlog
if (!(gitlog =~ /\((.*?)\)/)){
autoCancelled = true
error('Please fill in the scope information correctly.\neg. [TD-xxxx]<fix>(query,insert):xxxxxxxxxxxxxxxxxx ')
}
temp = (gitlog =~ /\((.*?)\)/)
temp = temp[0].remove(1)
scope = temp.split(",")
scope = ['connector','query','insert','other','tools','taosAdapter']
Collections.shuffle mod
Collections.shuffle sim_mod
}
} }
} }
}
} }
stage('Parallel test stage') { stage('Parallel test stage') {
//only build pr //only build pr
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册