Skip to content

Commit

Permalink
ci: Migrate RP (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrgoncalves authored Dec 20, 2023
1 parent abcb618 commit 3624562
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

orbs:
codacy: codacy/base@10.1.0
codacy: codacy/base@10.11.0
slack: circleci/[email protected]

references:
Expand Down Expand Up @@ -61,7 +61,7 @@ references:
name: Run tests
command: |
export EXECUTION_TIME=`date +%F_%Hh%M-%Z`
mvn test -DsuiteFile=$TEST_PATH -Drp.description=$EXECUTION_TIME -Drp.uuid=$RP_CIRCLECI_UUID -Drp.launch=$LAUNCH_NAME -Drp.project=$PROJECT_NAME -Drp.mode=DEFAULT -Drp.endpoint=$RP_ENDPOINT -Drp.tags=$LAUNCH_TAG
mvn test -DsuiteFile=$TEST_PATH -Drp.description=$EXECUTION_TIME -Drp.api.key=$RP_CIRCLECI_API_KEY -Drp.launch=$LAUNCH_NAME -Drp.project=$PROJECT_NAME -Drp.mode=DEFAULT -Drp.endpoint=$RP_ENDPOINT -Drp.tags=$LAUNCH_TAG
- run:
name: Save test results
command: |
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
LAUNCH_TAG: CIRCLECI;CLI;STAGING
PROJECT_NAME: codacy-analysis-cli
LAUNCH_NAME: CLI_STAGING
RP_LAUNCH_URL: https://reportportal.staging.codacy.org/ui/#codacy-analysis-cli/launches
RP_LAUNCH_URL: https://rp.dev.codacy.org/ui/#codacy-analysis-cli/launches/all
ENVIRONMENT: staging
test_cli_production:
<<: *run_integration_tests
Expand All @@ -135,7 +135,7 @@ jobs:
LAUNCH_TAG: CIRCLECI;CLI;PROD
PROJECT_NAME: codacy-analysis-cli
LAUNCH_NAME: CLI_PROD
RP_LAUNCH_URL: https://reportportal.staging.codacy.org/ui/#codacy-analysis-cli/launches
RP_LAUNCH_URL: https://rp.dev.codacy.org/ui/#codacy-analysis-cli/launches/all
ENVIRONMENT: production

workflows:
Expand Down

0 comments on commit 3624562

Please sign in to comment.