diff options
author | DR695H <dr695h@att.com> | 2019-07-29 18:01:47 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-07-29 18:01:47 -0400 |
commit | 14f824a974c6952169b16d75018baf33eef126f8 (patch) | |
tree | 5053422223a7cc520a5ee677b2a41324b7cc73e7 /gather_data.sh | |
parent | 63e3c4bfd4d38e02e355019bb0ce2d7410481c4b (diff) |
remove unused script
Issue-ID: TEST-174
Change-Id: If2e6dcb679f3db41a3622d3bca631bd662a5bfb0
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'gather_data.sh')
-rwxr-xr-x | gather_data.sh | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/gather_data.sh b/gather_data.sh deleted file mode 100755 index ad14ac33..00000000 --- a/gather_data.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash -################################################################################################## -# This shell is designed to support retrieval of application debugging data in the case of -# an ETE test failure. This script, along with the gather_application_data.sh will be installed -# in /opt on each of the ONAP VMs. The gather_application_data function is designed by each -# application to gather the relevant debugging data into the current working directory -# to be zipped up and transferred to the Robot VM and ultimately, posted in the failed Jenkins -# job. -################################################################################################## - -JOB_NUMBER=$2 -APPLICATION=$1 -if [ "$JOB_NUMBER" == '' ];then - JOB_NUMBER=0 -fi -if [ "$APPLICATION" == '' ];then - APPLICATION='job' -fi - -if [ -e /opt/gather_application_data.sh ]; then - source /opt/gather_application_data.sh -else - >&2 echo "${APPLICATION} No gather_application_data function" - exit -fi - - -FOLDER=/tmp/gather_data/${APPLICATION}_${JOB_NUMBER} -mkdir -p $FOLDER - -cd ${FOLDER} - -gather_application_data - -cd ../ -tar --remove-files -cvzf ${APPLICATION}_${JOB_NUMBER}.tar.gz ${APPLICATION}_${JOB_NUMBER} |