allure-python icon indicating copy to clipboard operation
allure-python copied to clipboard

Robot Framework: link issue with allure.issues.tracker.pattern

Open leeuwe opened this issue 5 years ago • 0 comments

I'm submitting a ...

  • [x] bug report
  • [ ] feature request
  • [ ] support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

allure.issues.tracker.pattern property does not change behaviour of [TAGS] issue:ISSUE-ID

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Given: Jenkins plugin is setup with key=allure.issues.tracker.pattern value=http://IssueTrackerURL/%s And: Robot Framework tests contain `[TAG] issue:ISSUE-ID When: Test are executed And: A report is generated Then: I'm expecting links with type issue to link to http://IssueTrackerURL/ISSUE-ID BUT: link refers to http://jenkinshost/served/allure/ISSUE-ID allure link

What is the expected behavior?

Jenkins uses allure.issues.tracker.pattern to parse 'issue' tags

What is the motivation / use case for changing the behavior?

Somewhere robotframework allure and jenkins allure aren't working together

Please tell us about your environment:

name version
Allure version latest (2:13)
allure-python-commons 2.8.22
allure-robotframework 2.8.22
Jenkins 2.249.2

leeuwe avatar Dec 03 '20 17:12 leeuwe