Skip to content

Commit

Permalink
Add artifacts config on bitbucket-pipelines.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Oct 31, 2023
1 parent 217659b commit ff2e23e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`

- Add artifacts config on bitbucket-pipelines.yml

## [4.9.0] 2023-10-30

- Refactor Monitoring configuration and execution (beta)
Expand Down
2 changes: 1 addition & 1 deletion defaults/monitoring/.github/workflows/org-monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# You may also:
# - Update manifest/package-skip-items.xml to filter elements to retrieve
#
# Doc & support: https://sfdx-hardis.cloudity.com/
# Doc & support: https://sfdx-hardis.cloudity.com/salesforce-monitoring-home/

on:
push:
Expand Down
2 changes: 2 additions & 0 deletions defaults/monitoring/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
### sfdx-hardis monitoring pipeline ###
#######################################

# Doc & support: https://sfdx-hardis.cloudity.com/salesforce-monitoring-home/

# PLEASE DO NOT UPDATE THIS FILE EXCEPT TO ADD TAGS TO YOUR STEPS

variables:
Expand Down
2 changes: 1 addition & 1 deletion defaults/monitoring/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# You may also:
# - Update manifest/package-skip-items.xml to filter elements to retrieve
#
# Doc & support: https://sfdx-hardis.cloudity.com/
# Doc & support: https://sfdx-hardis.cloudity.com/salesforce-monitoring-home/

schedules:
- cron: "0 4 * * *" # Cron format -> https://crontab.cronhub.io/
Expand Down
17 changes: 15 additions & 2 deletions defaults/monitoring/bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# You might add new branch names in pipeline "branches"
# You may:
# - Update manifest/package-skip-items.xml to filter elements to retrieve

# Doc & support: https://sfdx-hardis.cloudity.com/salesforce-monitoring-home/

image: node:18
definitions:
services:
docker:
memory: 3072
memory: 3072 # If you have crashes, play with this number

pipelines:
default:
Expand Down Expand Up @@ -32,6 +36,9 @@ pipelines:
- git add --all
- git commit -m "Org state on $(date -u +'%Y-%m-%d %H:%M') for $BRANCH_NAME [skip ci]" || echo "No changes to commit"
- git push --set-upstream origin "$BRANCH_NAME"
artifacts:
- hardis-report/**

- parallel:
# Apex tests
- step:
Expand All @@ -55,6 +62,9 @@ pipelines:
- sfdx hardis:auth:login
# Apex tests
- sfdx hardis:org:test:apex
artifacts:
- hardis-report/**

# MegaLinter
- step:
name: Run MegaLinter
Expand All @@ -66,6 +76,7 @@ pipelines:
- export DEFAULT_WORKSPACE=$BITBUCKET_CLONE_DIR && bash /entrypoint.sh
artifacts:
- megalinter-reports/**

# Other monitoring tools
- step:
name: Other Monitoring checks sfdx-hardis
Expand All @@ -88,4 +99,6 @@ pipelines:
- sfdx hardis:auth:login
# Other monitoring tools
- sfdx hardis:org:monitor:all
artifacts:
- hardis-report/**

0 comments on commit ff2e23e

Please sign in to comment.