* xTesting for infra-healthcheck and healthcheck use change.properties
* download-xtesting-artifact-macro for downloading atrifact from nordix artifactory.
Change-Id: If5b4a58f3723dde01ae25cb788ea97a900b874ec
node-parameters: true
kill-phase-on: FAILURE
abort-all-job: false
node-parameters: true
kill-phase-on: FAILURE
abort-all-job: false
+ property-file: $WORKSPACE/change.properties
- name: 'onap-verify-{environment-type}-xtesting-healthcheck-{distro}-{cloud}-{type}-{stream}'
current-parameters: true
git-revision: true
- name: 'onap-verify-{environment-type}-xtesting-healthcheck-{distro}-{cloud}-{type}-{stream}'
current-parameters: true
git-revision: true
- fix-workspace-permissions
builders:
- fix-workspace-permissions
builders:
+ - 'download-xtesting-artifact-macro'
- 'xtesting-infra-healthcheck-macro'
- job-template:
- 'xtesting-infra-healthcheck-macro'
- job-template:
export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/deployment/test/g')
if [[ "$EXECUTION_MODE" == "offline-test" ]]; then
export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/deployment/test/g')
if [[ "$EXECUTION_MODE" == "offline-test" ]]; then
- # TEST_ROOT_DIR="/opt/test/offline/git/test"
- echo "Info : Testing of offline deployments is not currently supported! switching to online mode"
- export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/offline/online/g')
- TEST_ROOT_DIR="$WORKSPACE"
+ TEST_ROOT_DIR="/opt/test/offline/git/test"
else
TEST_ROOT_DIR="$WORKSPACE"
fi
else
TEST_ROOT_DIR="$WORKSPACE"
fi
export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/deployment/test/g')
if [[ "$EXECUTION_MODE" == "offline-test" ]]; then
export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/deployment/test/g')
if [[ "$EXECUTION_MODE" == "offline-test" ]]; then
- # TEST_ROOT_DIR="/opt/test/offline/git/test"
- echo "Info : Testing of offline deployments is not currently supported! switching to online mode"
- export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/offline/online/g')
- TEST_ROOT_DIR="$WORKSPACE"
+ TEST_ROOT_DIR="/opt/test/offline/git/test"
else
TEST_ROOT_DIR="$WORKSPACE"
fi
else
TEST_ROOT_DIR="$WORKSPACE"
fi