diff --git a/fastlane/Allurefile b/fastlane/Allurefile index 2d554502..d6e34686 100755 --- a/fastlane/Allurefile +++ b/fastlane/Allurefile @@ -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' @@ -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] @@ -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,