From: Akash Rajguru Date: Mon, 16 Aug 2021 11:15:30 +0000 (+0100) Subject: AEGIS-455: Updated onap-verfiy-deploy jjb job template X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=af4844b31a2cdcb108d17d290585599156d29907;p=infra%2Fcicd.git AEGIS-455: Updated onap-verfiy-deploy jjb job template * xTesting for infra-healthcheck and healthcheck use change.properties * download-xtesting-artifact-macro for downloading atrifact from nordix artifactory. Change-Id: If5b4a58f3723dde01ae25cb788ea97a900b874ec --- diff --git a/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml b/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml index a9555d6c3..6caf4e9b6 100644 --- a/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml +++ b/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml @@ -294,6 +294,7 @@ 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 @@ -433,6 +434,7 @@ - fix-workspace-permissions builders: + - 'download-xtesting-artifact-macro' - 'xtesting-infra-healthcheck-macro' - job-template: diff --git a/jjb/cloud-infra/scripts/xtesting-healthcheck.sh b/jjb/cloud-infra/scripts/xtesting-healthcheck.sh index 82eb18089..5b63fa26b 100755 --- a/jjb/cloud-infra/scripts/xtesting-healthcheck.sh +++ b/jjb/cloud-infra/scripts/xtesting-healthcheck.sh @@ -25,10 +25,7 @@ set -o pipefail 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 diff --git a/jjb/cloud-infra/scripts/xtesting-infra-healthcheck.sh b/jjb/cloud-infra/scripts/xtesting-infra-healthcheck.sh index 82eb18089..5b63fa26b 100755 --- a/jjb/cloud-infra/scripts/xtesting-infra-healthcheck.sh +++ b/jjb/cloud-infra/scripts/xtesting-infra-healthcheck.sh @@ -25,10 +25,7 @@ set -o pipefail 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