New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ACA-4233] Call the scan-env adf-cli command before and after each E2E job #6519
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov Report
@@ Coverage Diff @@
## develop #6519 +/- ##
===========================================
- Coverage 76.23% 76.22% -0.02%
===========================================
Files 868 868
Lines 19612 19612
Branches 3904 3904
===========================================
- Hits 14951 14949 -2
- Misses 3470 3471 +1
- Partials 1191 1192 +1
Continue to review full report at Codecov.
|
scripts/ci/job_hooks/after_e2e.sh
Outdated
@@ -2,3 +2,5 @@ | |||
|
|||
# Upload protractor-smartrunner artifact related to this particular job to S3 | |||
./scripts/ci/utils/artifact-to-s3.sh -a "$SMART_RUNNER_DIRECTORY" -o "$S3_DBP_FOLDER/protractor-smartrunner-$TRAVIS_JOB_ID.tar.bz2" | |||
|
|||
npx @alfresco/adf-cli scan-env --host "$E2E_HOST" -u "$E2E_ADMIN_EMAIL_IDENTITY" -p "$E2E_ADMIN_PASSWORD_IDENTITY" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the adf pipeline the cli commands needs to be call from node modules otherwise you are not going to get the new changes
scripts/ci/job_hooks/before_e2e.sh
Outdated
@@ -1,5 +1,7 @@ | |||
#!/usr/bin/env bash | |||
|
|||
npx @alfresco/adf-cli scan-env --host "$E2E_HOST" -u "$E2E_ADMIN_EMAIL_IDENTITY" -p "$E2E_ADMIN_PASSWORD_IDENTITY" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the adf pipeline the cli commands needs to be call from node modules otherwise you are not going to get the new changes
2f45bf9
to
6171c21
Compare
6171c21
to
f84150b
Compare
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
What is the new behaviour?
The environment will be scanned before and after each E2E job in Travis
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: