fix: change build order
This commit is contained in:
parent
df1bed48aa
commit
206363c274
20
Jenkinsfile2
20
Jenkinsfile2
|
@ -283,7 +283,7 @@ pipeline {
|
||||||
agent{label " windows10_01 || windows10_02 || windows10_03 || windows10_04 "}
|
agent{label " windows10_01 || windows10_02 || windows10_03 || windows10_04 "}
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
timeout(time: 40, unit: 'MINUTES'){
|
timeout(time: 55, unit: 'MINUTES'){
|
||||||
pre_test_win()
|
pre_test_win()
|
||||||
pre_test_build_win()
|
pre_test_build_win()
|
||||||
run_win_ctest()
|
run_win_ctest()
|
||||||
|
@ -308,16 +308,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
timeout(time: 40, unit: 'MINUTES'){
|
timeout(time: 15, unit: 'MINUTES'){
|
||||||
pre_test()
|
pre_test()
|
||||||
script {
|
script {
|
||||||
sh '''
|
|
||||||
cd ${WKC}/tests/parallel_test
|
|
||||||
date
|
|
||||||
time ./container_build.sh -w ${WKDIR} -t 8 -e
|
|
||||||
rm -f /tmp/cases.task
|
|
||||||
./collect_cases.sh -e
|
|
||||||
'''
|
|
||||||
sh '''
|
sh '''
|
||||||
echo "packaging ..."
|
echo "packaging ..."
|
||||||
date
|
date
|
||||||
|
@ -325,7 +318,7 @@ pipeline {
|
||||||
./release.sh -v cluster -n 3.0.0.100 -s static
|
./release.sh -v cluster -n 3.0.0.100 -s static
|
||||||
cd ${WKC}/release
|
cd ${WKC}/release
|
||||||
tar xzf TDengine-enterprise-server-3.0.0.100-Linux-x64.tar.gz
|
tar xzf TDengine-enterprise-server-3.0.0.100-Linux-x64.tar.gz
|
||||||
cd TDengine-enterprise-server
|
cd TDengine-enterprise-server-3.0.0.100
|
||||||
service taosd stop || :
|
service taosd stop || :
|
||||||
rm -rf /var/lib/taos
|
rm -rf /var/lib/taos
|
||||||
./install.sh -e no
|
./install.sh -e no
|
||||||
|
@ -333,6 +326,13 @@ pipeline {
|
||||||
sleep 20
|
sleep 20
|
||||||
service taosd status
|
service taosd status
|
||||||
'''
|
'''
|
||||||
|
sh '''
|
||||||
|
cd ${WKC}/tests/parallel_test
|
||||||
|
date
|
||||||
|
time ./container_build.sh -w ${WKDIR} -t 8 -e
|
||||||
|
rm -f /tmp/cases.task
|
||||||
|
./collect_cases.sh -e
|
||||||
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue