+if [ -z "$my_email" ] || [ -z "$my_name" ]; then
- export_config_variables
+fi
+if [ -z "$my_email" ] || [ -z "$my_name" ]; then
- log_error "ENV $my_email or $my_name doesn't exist, please config $CCI_SRC/sparrow/setup.yaml"
- exit 1
+fi
[ -n "$my_email" && -n "$my_name" ] && return
export_config_variables [[ -n "$my_email" && -n "$my_name" ] && return log_error "ENV $my_email or $my_name doesn't exist, please config $CCI_SRC/sparrow/setup.yaml" exit 1
Thanks, Shengde