提交 2be26326 编写于 作者: haoranc's avatar haoranc

test: modify checkpackages scritps

上级 df7daebf
...@@ -107,7 +107,7 @@ pipeline { ...@@ -107,7 +107,7 @@ pipeline {
stage('ubuntu16') { stage('ubuntu16') {
agent{label " ubuntu16 "} agent{label " ubuntu16 "}
steps { steps {
timeout(time: 10, unit: 'MINUTES'){ timeout(time: 30, unit: 'MINUTES'){
sync_source("${BRANCH_NAME}") sync_source("${BRANCH_NAME}")
sh ''' sh '''
cd ${TDENGINE_ROOT_DIR}/packaging cd ${TDENGINE_ROOT_DIR}/packaging
...@@ -130,7 +130,7 @@ pipeline { ...@@ -130,7 +130,7 @@ pipeline {
stage('ubuntu18') { stage('ubuntu18') {
agent{label " ubuntu18 "} agent{label " ubuntu18 "}
steps { steps {
timeout(time: 10, unit: 'MINUTES'){ timeout(time: 30, unit: 'MINUTES'){
sync_source("${BRANCH_NAME}") sync_source("${BRANCH_NAME}")
sh ''' sh '''
cd ${TDENGINE_ROOT_DIR}/packaging cd ${TDENGINE_ROOT_DIR}/packaging
...@@ -153,7 +153,7 @@ pipeline { ...@@ -153,7 +153,7 @@ pipeline {
stage('centos7') { stage('centos7') {
agent{label " centos7_9 "} agent{label " centos7_9 "}
steps { steps {
timeout(time: 10, unit: 'MINUTES'){ timeout(time: 30, unit: 'MINUTES'){
sync_source("${BRANCH_NAME}") sync_source("${BRANCH_NAME}")
sh ''' sh '''
cd ${TDENGINE_ROOT_DIR}/packaging cd ${TDENGINE_ROOT_DIR}/packaging
...@@ -176,7 +176,7 @@ pipeline { ...@@ -176,7 +176,7 @@ pipeline {
stage('centos8') { stage('centos8') {
agent{label " centos8_3 "} agent{label " centos8_3 "}
steps { steps {
timeout(time: 10, unit: 'MINUTES'){ timeout(time: 30, unit: 'MINUTES'){
sync_source("${BRANCH_NAME}") sync_source("${BRANCH_NAME}")
sh ''' sh '''
cd ${TDENGINE_ROOT_DIR}/packaging cd ${TDENGINE_ROOT_DIR}/packaging
......
...@@ -83,8 +83,10 @@ wget https://www.taosdata.com/assets-download/3.0/${originPackageName} ...@@ -83,8 +83,10 @@ wget https://www.taosdata.com/assets-download/3.0/${originPackageName}
if [[ ${packgeName} =~ "deb" ]];then if [[ ${packgeName} =~ "deb" ]];then
cd ${installPath}
echo "dpkg ${packgeName}" && dpkg -i ${packgeName} echo "dpkg ${packgeName}" && dpkg -i ${packgeName}
elif [[ ${packgeName} =~ "rpm" ]];then elif [[ ${packgeName} =~ "rpm" ]];then
cd ${installPath}
echo "rpm ${packgeName}" && rpm -ivh ${packgeName} echo "rpm ${packgeName}" && rpm -ivh ${packgeName}
elif [[ ${packgeName} =~ "tar" ]];then elif [[ ${packgeName} =~ "tar" ]];then
echo "tar ${packgeName}" && tar -xvf ${packgeName} echo "tar ${packgeName}" && tar -xvf ${packgeName}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册