diff --git a/lib/cli/README.md b/lib/cli/README.md index 7b6e85a7eb..bd64d8f82c 100644 --- a/lib/cli/README.md +++ b/lib/cli/README.md @@ -203,3 +203,11 @@ The following command is in charge of checking plugin status by given plugin nam adf-cli check-plugin-env --host "gateway_env" --pluginName "Name of the plugin" --appName "appName" -u "username" -p "password" --ui "uiName" ``` + +### Scan the environment + +The following command will scan the environment to show various information on its current status: + +```bash +adf-cli scan-env --host "https://example.com" -u "admin" -p "password" +``` diff --git a/scripts/ci/job_hooks/after_e2e.sh b/scripts/ci/job_hooks/after_e2e.sh index 2986e38a84..7b4f690ac4 100755 --- a/scripts/ci/job_hooks/after_e2e.sh +++ b/scripts/ci/job_hooks/after_e2e.sh @@ -2,5 +2,3 @@ # Upload protractor-smartrunner artifact related to this particular job to S3 ./scripts/ci/utils/artifact-to-s3.sh -a "$SMART_RUNNER_DIRECTORY" -o "$S3_SMART_RUNNER_PATH/$TRAVIS_JOB_ID.tar.bz2" - -./node_modules/@alfresco/adf-cli/bin/adf-cli scan-env --host "$E2E_HOST" -u "$E2E_ADMIN_EMAIL_IDENTITY" -p "$E2E_ADMIN_PASSWORD_IDENTITY" diff --git a/scripts/ci/job_hooks/before_e2e.sh b/scripts/ci/job_hooks/before_e2e.sh index bcb8a17230..31c0c07871 100755 --- a/scripts/ci/job_hooks/before_e2e.sh +++ b/scripts/ci/job_hooks/before_e2e.sh @@ -14,4 +14,4 @@ cp -R ./lib/dist/testing/* ./node_modules/@alfresco/adf-testing/ # Download protractor-smartrunner artifact related to this particular job from S3, if exists ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_SMART_RUNNER_PATH/$TRAVIS_JOB_ID.tar.bz2" -o "$SMART_RUNNER_DIRECTORY" -./node_modules/@alfresco/adf-cli/bin/adf-cli scan-env --host "$E2E_HOST" -u "$E2E_ADMIN_EMAIL_IDENTITY" -p "$E2E_ADMIN_PASSWORD_IDENTITY" +exit 0