summaryrefslogtreecommitdiffstats
path: root/ui-ci/src/main/resources/ci/scripts/copyToStorage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ui-ci/src/main/resources/ci/scripts/copyToStorage.sh')
-rw-r--r--ui-ci/src/main/resources/ci/scripts/copyToStorage.sh55
1 files changed, 0 insertions, 55 deletions
diff --git a/ui-ci/src/main/resources/ci/scripts/copyToStorage.sh b/ui-ci/src/main/resources/ci/scripts/copyToStorage.sh
deleted file mode 100644
index a113c54e60..0000000000
--- a/ui-ci/src/main/resources/ci/scripts/copyToStorage.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-
-REPORT_NAME=$1
-VERSION=$2
-ENV=$3
-
-
-if [ -z "$REPORT_NAME" ]
- then
- source ExtentReport/versions.info
- now=$(date +'%Y-%m-%d_%H_%M')
- REPORT_NAME="${now}"
- VERSION="${osVersion}"
- if [[ $env == *"DEV20"* ]]
- then
- ENV="Nightly"
- else
- ENV=""
- fi
-
- fi
-
-source conf/attInternal.info
-IP=$automationResutlsRepo
-PASS=$automationResutlsRepoPass
-
-/usr/bin/expect << EOF
-spawn ssh admin@${IP} mkdir -p -m 775 /home/admin/reports/${ENV}/${VERSION}/UI/
-
-expect {
- -re ".*es.*o.*" {
- exp_send "yes\r"
- exp_continue
- }
- -re ".*sword.*" {
- exp_send ${PASS}\r
- }
-}
-
-expect eof
-
-spawn scp -pr ExtentReport admin@${IP}:/home/admin/reports/${ENV}/${VERSION}/UI/${REPORT_NAME}/
-
-expect {
- -re ".*es.*o.*" {
- exp_send "yes\r"
- exp_continue
- }
- -re ".*sword.*" {
- exp_send ${PASS}\r
- }
-}
-
-expect eof
-EOF