Skip to content

Commit

Permalink
Update knapsack_pro_queue_rspec_record_first_run_junit
Browse files Browse the repository at this point in the history
fix to make final xml report work
  • Loading branch information
ArturT committed Dec 21, 2023
1 parent 3bb5489 commit c945bb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/knapsack_pro_queue_rspec_record_first_run_junit
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# CI node 1 for commit-v2
# bin/knapsack_pro_queue_rspec_record_first_run_junit 1 2 commit-v1 ci-build-1

mkdir -p tmp/test-reports/rspec/first_run_junit_queue_mode/
mkdir -p tmp/test-reports/rspec/queue_mode/

RANDOM_CI_BUILD_ID=$(openssl rand -base64 32)
CI_BUILD_ID=${3:-$RANDOM_CI_BUILD_ID}
Expand All @@ -38,4 +38,4 @@ KNAPSACK_PRO_ENDPOINT=http://api.knapsackpro.test:3000 \
KNAPSACK_PRO_BRANCH=$BRANCH_NAME \
KNAPSACK_PRO_CI_NODE_TOTAL=${2:-2} \
KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES=true \
bundle exec rake "knapsack_pro:queue:rspec[--format documentation --format RspecJunitFormatter --out tmp/test-reports/rspec/first_run_junit_queue_mode/rspec_$KNAPSACK_PRO_CI_NODE_INDEX.xml]"
bundle exec rake "knapsack_pro:queue:rspec[--format documentation --format RspecJunitFormatter --out tmp/test-reports/rspec/queue_mode/rspec_$KNAPSACK_PRO_CI_NODE_INDEX.xml]"

0 comments on commit c945bb4

Please sign in to comment.