#!/bin/bash
set -e

PROJECT=$1

echo "Getting test results from the ${PROJECT} Openshift environment"

function getResults() {
    oc project ${PROJECT} >/dev/null
    oc rsync $(oc get pods | grep robot-framework | awk '{ print $1 }'):/robot-tests/target/ robot-tests/target/
}

getResults

#!/bin/bash
set -e

PROJECT=$1

echo "Getting test results from the ${PROJECT} Openshift environment"

function getResults() {
    oc rsync $(oc get pods | grep robot-framework | awk '{ print $1 }'):/robot-tests/target/ robot-tests/target/
}

getResults

Test results are fetched from the current oc project
Test results are fetched from the current oc project


Former-commit-id: 33ea694882c2d8f5b502d120beb13b209c8b5a68