This commit is contained in:
liuyq-617 2021-03-23 15:59:41 +08:00
parent 5e8ab6b948
commit a9eecfa5c1
2 changed files with 2 additions and 5 deletions

5
Jenkinsfile vendored
View File

@ -33,10 +33,7 @@ def abort_previous(){
milestone(buildNumber) milestone(buildNumber)
} }
def pre_test(){ def pre_test(){
script{
abort_previous()
abortPreviousBuilds()
}
sh ''' sh '''
sudo rmtaos || echo "taosd has not installed" sudo rmtaos || echo "taosd has not installed"

View File

@ -172,7 +172,7 @@ function runPyCaseOneByOnefq() {
out_log=`tail -1 pytest-out.log ` out_log=`tail -1 pytest-out.log `
if [[ $out_log =~ 'failed' ]];then if [[ $out_log =~ 'failed' ]];then
cp -r ../../sim ~/sim_`date "+%Y_%m_%d_%H:%M:%S" ` cp -r ../../sim ~/sim_`date "+%Y_%m_%d_%H:%M:%S" `
echo '=====================log=====================' echo '=====================log===================== '
cat ../../sim/case.log cat ../../sim/case.log
rm -rf ../../sim/case.log rm -rf ../../sim/case.log
dohavecore $2 dohavecore $2