Skip to content

Commit

Permalink
Adapt post_fail_hook to an incomplete openQA setup
Browse files Browse the repository at this point in the history
  • Loading branch information
kalikiana committed Oct 24, 2023
1 parent 04465c2 commit d07f53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/openQAcoretest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sub post_fail_hook {
if (check_var('OPENQA_FROM_GIT', 1)) {
send_key 'ctrl-c'; # Stop current command, if any
assert_script_run 'cd /root/openQA';
enter_cmd 'script/openqa-cli api jobs';
enter_cmd '[ -e script/openqa-cli ] && script/openqa-cli api jobs';
save_screenshot;
enter_cmd 'which sass';
get_log 'journalctl --pager-end --no-tail --no-pager -u apache2' => 'openqa_services.log';
Expand Down

0 comments on commit d07f53e

Please sign in to comment.