Skip to content

Commit

Permalink
[CI] Resolve allure upload issue
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Jun 17, 2024
1 parent 71a9e11 commit 5b93b12
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions fastlane/Allurefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env ruby

allure_project_id = '2'
allure_url = 'https://streamio.testops.cloud/api'
allure_url = 'https://streamio.testops.cloud'
allure_api_url = "#{allure_url}/api"
allure_regression_testplan = 'Regression Testing'
allure_results_path = 'allure-results'

Expand All @@ -20,7 +21,7 @@ lane :allure_launch do |options|
next unless is_check_required(sources: sources_matrix[:e2e], force_check: @force_check)

launch_id = allure_create_launch(
url: allure_url,
url: allure_api_url,
project_id: allure_project_id,
github_run_details: github_run_details,
cron: options[:cron]
Expand All @@ -35,13 +36,13 @@ end

desc 'Create test-case in Allure TestOps and get its id'
lane :allure_testcase do
allure_create_testcase(url: allure_url, project_id: allure_project_id)
allure_create_testcase(url: allure_api_url, project_id: allure_project_id)
end

desc 'Sync and run regression test-plan on Allure TestOps'
lane :allure_start_regression do |options|
allure_run_testplan(
url: allure_url,
url: allure_api_url,
project_id: allure_project_id,
release_version: options[:release_version],
testplan: allure_regression_testplan,
Expand Down

0 comments on commit 5b93b12

Please sign in to comment.