From 4e34b78dcdec327aedb7c923dfc93f066304678d Mon Sep 17 00:00:00 2001 From: liuyq-617 Date: Wed, 17 Mar 2021 14:24:55 +0800 Subject: [PATCH] add stage after build --- Jenkinsfile | 11 +++++++++++ tests/pytest/functions/function_operations.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d8c9666828..685fde662d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -267,6 +267,17 @@ pipeline { } } } + stage('after_build'){ + agent{label 'master'} + when { + changeRequest() + } + steps { + sh''' + df -h + ''' + } + } } post { success { diff --git a/tests/pytest/functions/function_operations.py b/tests/pytest/functions/function_operations.py index 162aa3eb65..4f126371b9 100644 --- a/tests/pytest/functions/function_operations.py +++ b/tests/pytest/functions/function_operations.py @@ -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' ] op_list = [ '+' , '-' , '*' , '/' , '%' ] 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 j in col_list : for k in op_list : -- GitLab