test: modify checkpackages scritps
This commit is contained in:
parent
df7daebf42
commit
2be2632600
|
@ -107,7 +107,7 @@ pipeline {
|
|||
stage('ubuntu16') {
|
||||
agent{label " ubuntu16 "}
|
||||
steps {
|
||||
timeout(time: 10, unit: 'MINUTES'){
|
||||
timeout(time: 30, unit: 'MINUTES'){
|
||||
sync_source("${BRANCH_NAME}")
|
||||
sh '''
|
||||
cd ${TDENGINE_ROOT_DIR}/packaging
|
||||
|
@ -130,7 +130,7 @@ pipeline {
|
|||
stage('ubuntu18') {
|
||||
agent{label " ubuntu18 "}
|
||||
steps {
|
||||
timeout(time: 10, unit: 'MINUTES'){
|
||||
timeout(time: 30, unit: 'MINUTES'){
|
||||
sync_source("${BRANCH_NAME}")
|
||||
sh '''
|
||||
cd ${TDENGINE_ROOT_DIR}/packaging
|
||||
|
@ -153,7 +153,7 @@ pipeline {
|
|||
stage('centos7') {
|
||||
agent{label " centos7_9 "}
|
||||
steps {
|
||||
timeout(time: 10, unit: 'MINUTES'){
|
||||
timeout(time: 30, unit: 'MINUTES'){
|
||||
sync_source("${BRANCH_NAME}")
|
||||
sh '''
|
||||
cd ${TDENGINE_ROOT_DIR}/packaging
|
||||
|
@ -176,7 +176,7 @@ pipeline {
|
|||
stage('centos8') {
|
||||
agent{label " centos8_3 "}
|
||||
steps {
|
||||
timeout(time: 10, unit: 'MINUTES'){
|
||||
timeout(time: 30, unit: 'MINUTES'){
|
||||
sync_source("${BRANCH_NAME}")
|
||||
sh '''
|
||||
cd ${TDENGINE_ROOT_DIR}/packaging
|
||||
|
|
|
@ -83,8 +83,10 @@ wget https://www.taosdata.com/assets-download/3.0/${originPackageName}
|
|||
|
||||
|
||||
if [[ ${packgeName} =~ "deb" ]];then
|
||||
cd ${installPath}
|
||||
echo "dpkg ${packgeName}" && dpkg -i ${packgeName}
|
||||
elif [[ ${packgeName} =~ "rpm" ]];then
|
||||
cd ${installPath}
|
||||
echo "rpm ${packgeName}" && rpm -ivh ${packgeName}
|
||||
elif [[ ${packgeName} =~ "tar" ]];then
|
||||
echo "tar ${packgeName}" && tar -xvf ${packgeName}
|
||||
|
|
Loading…
Reference in New Issue