Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --junit argument #231

Merged
merged 1 commit into from
May 20, 2024
Merged

Add --junit argument #231

merged 1 commit into from
May 20, 2024

Conversation

mpagot
Copy link
Collaborator

@mpagot mpagot commented May 14, 2024

Add --junit in the ansible subcommand of the gluescript. It's mind to activate generation of junit report.

WIP openQA part of it is os-autoinst/os-autoinst-distri-opensuse@master...mpagot:os-autoinst-distri-opensuse:qesap_ansible_junit

Ticket : TEAM-6844

https://openqaworker15.qa.suse.cz/tests/283139
https://openqaworker15.qa.suse.cz/tests/283140

Add --junit in the ansible subcommand of the gluescript. It's mind to
activate generation of junit report.
@mpagot mpagot marked this pull request as ready for review May 15, 2024 10:57
@@ -304,6 +305,9 @@ def ansible_command_sequence(configure_data_ansible, base_project, sequence, ver
original_env['ANSIBLE_PIPELINING'] = 'True'
if profile:
original_env['ANSIBLE_CALLBACK_WHITELIST'] = 'ansible.posix.profile_tasks'
if junit:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!!

@@ -190,7 +193,8 @@ def main(command_line=None): # pylint: disable=too-many-return-statements
parsed_args.dryrun,
parsed_args.verbose,
destroy=parsed_args.destroy,
profile=parsed_args.profile
profile=parsed_args.profile,
junit=parsed_args.junit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why it is needed this one?

Copy link
Collaborator

@alvarocarvajald alvarocarvajald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mpagot mpagot merged commit 6ddeade into SUSE:main May 20, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants