Remove the redundant exit tasks from the gate
The gate job is currently trying to sync and archive log files twice this extends runtime and creates broken files with very long repeating file extensions. The exit tasks are already being trapped within the gate script and do not need to be in the specific exit failue/success functions. Change-Id: Ib7eb9cb609c31f2fb8fa1e02f1cda06e6abd2153 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
e8139b9261
commit
57baef257d
@ -119,7 +119,6 @@ function exit_state {
|
||||
|
||||
function exit_success {
|
||||
set +x
|
||||
[[ "${OSA_GATE_JOB:-false}" = true ]] && gate_job_exit_tasks
|
||||
exit_state 0
|
||||
}
|
||||
|
||||
@ -127,7 +126,6 @@ function exit_fail {
|
||||
set +x
|
||||
log_instance_info
|
||||
info_block "Error Info - $@"
|
||||
[[ "${OSA_GATE_JOB:-false}" = true ]] && gate_job_exit_tasks
|
||||
exit_state 1
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user