Skip to content

Commit

Permalink
Allure logs
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Nov 18, 2024
1 parent 50e5154 commit 05308dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane/Allurefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ desc 'Upload test results to Allure TestOps'
lane :allure_upload do |options|
remove_duplicated_allure_results
options[:launch_id] ||= ENV.fetch('LAUNCH_ID', nil)
allure_args = "-e #{allure_url} --project-id #{allure_project_id} --launch-id #{options[:launch_id]}"
allure_args = "--log DEBUG -e #{allure_url} --project-id #{allure_project_id} --launch-id #{options[:launch_id]}"
sh("./allurectl launch reopen #{options[:launch_id]} || true") # to prevent allure from uploading results to a closed launch
sh("env BRANCH_NAME='#{current_branch}' ./allurectl upload #{allure_args} #{allure_results_path} || true")
UI.success("Check out test results in Allure TestOps: #{allure_url}/launch/#{options[:launch_id]} 🎉")
Expand Down

0 comments on commit 05308dc

Please sign in to comment.