kootstra / robotframework-allurereport

This is a library for the Allure Framework and Robot Framework.
MIT License
21 stars 16 forks source link

Any way to configure allure.properties? #14

Open chintanvadgama opened 6 years ago

chintanvadgama commented 6 years ago

I am currently using Jenkins-Allure-Report Plugin and RobotFramework-adaptor for Allurereport in order to generate Allure-Reports. allure.properties have the following property for issue matching regex patterns. Currently, my project has issues like PR-12345 and the below regex is not able to match the issue. allure.issues.id.pattern=\\b([A-Z]{1,3}[-][0-9]{1,4})\\b

I want to change the pattern to the following in order to match PR-12345. allure.issues.id.pattern=\\b([A-Z]{1,3}[-][0-9]{1,5})\\b

I did following configurations in Jenkins allure.properties

  1. allure.issues.id.pattern=\\b([A-Z]{1,3}[-][0-9]{1,5})\\b
  2. allure.issues.id.pattern=([A-Z]{1,3}[-][0-9]{1,5})

It looks like both of them when configured using Jenkins are not working, but Regex Testing on https://regex101.com/ works like a charm. Had anyone come across an issue like this? Any help is appreciated. screen shot 2018-07-09 at 6 13 27 pm