Skip to content

Conversation

@tcornell-bus
Copy link
Collaborator

@tcornell-bus tcornell-bus commented Dec 18, 2025

Do not require the project key in reportportal plugin schema since it can be specified in TMT_PLUGIN_REPORT_REPORTPORTAL_PROJECT environment var or on the command line.

The reportportal plugin code appears to already handle when the project key is not specified in any of the allowed forms. It throws an exception.

The added test requires reportportal access and can be run locally. Since I do not have access to test_tmt reportportal project, I used my personal project for testing.

I went down a rabbit hole of trying to fix the tests in tests/report/reportportal/data/test.fmf, but it was taking a considerable amount of time. I am about halfway through fixing them, so I may follow up with a PR to fix those.

Fixes: #4178

Pull Request Checklist

  • implement the feature
  • extend the test coverage
  • modify the json schema
  • include a release note

plugin schema since it can be specified in
TMT_PLUGIN_REPORT_REPORTPORTAL_PROJECT environment var
or on the commandline.

The reportportal plugin code appears to alredy handle
when the project key is not specified in any of the allowed
forms. It throws an exception.

The added test requires reportportal access and can be run
locally.
back to the default test_tmt
@tcornell-bus tcornell-bus added step | report Stuff related to the report step code | schema Schema used for validating config files plugin | reportportal The reportportal report plugin review | trivial Very easy for review, even for beginners, so don't be afraid to have a look! :-) labels Dec 18, 2025
@tcornell-bus tcornell-bus changed the title Tcornell reportportal schema no req project key reportportal schema should not require the project key Dec 18, 2025
@tcornell-bus tcornell-bus changed the title reportportal schema should not require the project key reportportal schema should not require project key Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code | schema Schema used for validating config files plugin | reportportal The reportportal report plugin review | trivial Very easy for review, even for beginners, so don't be afraid to have a look! :-) step | report Stuff related to the report step

Projects

None yet

Development

Successfully merging this pull request may close these issues.

misleading lint messages for reportportal

2 participants