fix
This commit is contained in:
parent
5e8ab6b948
commit
a9eecfa5c1
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue