-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
If you use keyword like WARNING then it is going to report variables and any
strings that have it like
Stirng WARNINGS ="asdf"; IMHO it should look for keyword + ' '.
I,E., the regular expression should be \W(Tag)\W.
- depends on
-
JENKINS-2364 No tasks are found when looking for "@todo" tasks
-
- Closed
-
Code changed in hudson
User: : drulli
Path:
trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/parser/TaskScanner.java
trunk/hudson/plugins/tasks/src/test/java/hudson/plugins/tasks/parser/TaskScannerTest.java
trunk/hudson/plugins/tasks/src/test/resources/hudson/plugins/tasks/parser/tasks-words-test.txt
http://fisheye4.cenqua.com/changelog/hudson/?cs=10489
Log:
[FIXED JENKINS-1738]: scan for tasks words only, use regexp \b to ensure that we are not in the middle of a word.