abort build
This commit is contained in:
parent
4e34b78dcd
commit
683b1282b8
|
@ -24,7 +24,13 @@ def abortPreviousBuilds() {
|
||||||
build.doKill() //doTerm(),doKill(),doTerm()
|
build.doKill() //doTerm(),doKill(),doTerm()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//abort previous build
|
||||||
|
abortPreviousBuilds()
|
||||||
|
def abort_previous(){
|
||||||
|
def buildNumber = env.BUILD_NUMBER as int
|
||||||
|
if (buildNumber > 1) milestone(buildNumber - 1)
|
||||||
|
milestone(buildNumber)
|
||||||
|
}
|
||||||
def pre_test(){
|
def pre_test(){
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh '''
|
sh '''
|
||||||
|
|
|
@ -92,7 +92,7 @@ class TDTestCase:
|
||||||
col_list = [ 'col1' , 'col2' , 'col3' , 'col4' , 'col5' , 'col6' , 'col7' , 'col8' , 'col9' , 'col11' , 'col12' , 'col13' , 'col14' , '1' , '1.1' , 'NULL' ]
|
col_list = [ 'col1' , 'col2' , 'col3' , 'col4' , 'col5' , 'col6' , 'col7' , 'col8' , 'col9' , 'col11' , 'col12' , 'col13' , 'col14' , '1' , '1.1' , 'NULL' ]
|
||||||
op_list = [ '+' , '-' , '*' , '/' , '%' ]
|
op_list = [ '+' , '-' , '*' , '/' , '%' ]
|
||||||
err_list = [ 'col7' , 'col8' , 'col9' , 'NULL' ]
|
err_list = [ 'col7' , 'col8' , 'col9' , 'NULL' ]
|
||||||
order_lsit = [ ' order by ts ', ' order by ts desc ', ' order by ts asc']
|
order_lsit = [ ' order by ts ', ' order by ts desc ', ' order by ts asc ']
|
||||||
for i in col_list :
|
for i in col_list :
|
||||||
for j in col_list :
|
for j in col_list :
|
||||||
for k in op_list :
|
for k in op_list :
|
||||||
|
|
Loading…
Reference in New Issue