mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-1525] Only run scan environment on cron (#6966)
* [ACS-1525] Only run scan environment on cron * [ACS-1525] Remove environment scan * [ACS-1525] Add example of use of the command in README * Add exit 0
This commit is contained in:
@@ -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"
|
||||
```
|
||||
|
@@ -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"
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user