Hi, seems to be a cool plugin, unfortunately I don't get the Task-Icon (just a broken-image icon)). The url the image referes is "http://<ourserver>/hudson/plugin/tasks/icons/tasks-48x48.png" and on the menu "http://<ourserver>/hudson/plugin/tasks/icons/tasks-24x24.png"
Another Comment: The "Open Task Trend" only updates when a full refresh is done (Ctrl-F5).
You should add a timestamp or anthing else to your request, so the graph is regenerated.
Had a little bit of trouble installing this plug-in... it downloads as ZIP and not as .HPI. But once renamed the .zip to .hpi (no unzip) and uploaded via the /hudson/managePlugins console (it didn't work when I just unzipped it into the $HUDSON_HOME/plugins) and restarted, all is well.
Wiki markup misformed the file patterns, should be
Do not use file patterns like **/.jsp, in case *.jsp are present in the target directory, you get twice the tasks.
Use **/src/**/*.jsp instead.
don't know if this is a bug or not, but the task scanner doesn't work correctly,
for the graphic there is a broken link on the status page.
I upgraded Hudson to 1.88 and the Scanner to 2.0
An Exception ist thrown and shown on the webpage:
javax.servlet.ServletException: java.lang.ClassCastException: java.lang.Object cannot be cast to hudson.plugins.tasks.TasksResult
org.kohsuke.stapler.Stapler.invoke(Stapler.java:370)
org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:361)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:361)
org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:361)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:298)
org.kohsuke.stapler.Stapler.service(Stapler.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)
the problem arose when throwing the 1.88 hudson.war into the tomcat webapps container and was not deployed corectly... so 1.86 was running with tasks 2.0.... I had to setup Hudson new to get the tasks running again....
I get the following exception, there are also a lot of exception during startup for task-2.4.
What should be deleted for the task plugin upgrade to work?
Scanning workspace files for tasks...
FATAL: java.lang.Object
java.lang.ClassCastException: java.lang.Object
at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:143)
Is it possible to get the absolute or relative path displayed for a file?
I'm scanning C# resource files for specific substrings, and currently this plugin reports the file name only, which makes it a bit hard to find the file in question since we tend to have a large number of files named Resources.resx
19 Comments
Anonymous
Love this plugin! can't wait until it aggregates all the tasks/source into a list that users can see.
Anonymous
Hi, seems to be a cool plugin, unfortunately I don't get the Task-Icon (just a broken-image icon)). The url the image referes is "http://<ourserver>/hudson/plugin/tasks/icons/tasks-48x48.png" and on the menu "http://<ourserver>/hudson/plugin/tasks/icons/tasks-24x24.png"
If you can fix that it would be great
Anonymous
Another Comment: The "Open Task Trend" only updates when a full refresh is done (Ctrl-F5).
You should add a timestamp or anthing else to your request, so the graph is regenerated.
Daniel
Unknown User (kohsuke)
Please use the issue tracker for recording RFEs and issues.
Unknown User (vorburger)
Had a little bit of trouble installing this plug-in... it downloads as ZIP and not as .HPI. But once renamed the .zip to .hpi (no unzip) and uploaded via the /hudson/managePlugins console (it didn't work when I just unzipped it into the $HUDSON_HOME/plugins) and restarted, all is well.
And it looks good! And useful. Thank you.
Anonymous
We have sources in utf-8 and comments not in english. Plugin shows tasks in weird symbols. This is also true for links to source files. Like
High Priority: FIXME
File: VisualComponentHelper.java
Line 100: Если модель РёР- начально содержала неверное
Browser is setup to view page in utf-8.
How can i fix that?
Anonymous
nice to know:
Do not use file patterns like */.jsp, in case *.jsp are present in the target directory, you get twice the tasks.
Use */src//.jsp instead.
Anonymous
Wiki markup misformed the file patterns, should be
Do not use file patterns like **/.jsp, in case *.jsp are present in the target directory, you get twice the tasks.
Use **/src/**/*.jsp instead.
Unknown User (vonjanowsky@consist.de)
Sorry, i posted an anonymous child element on the page, please remove it, since i am not privileged to.
I wrote the text again as a comment....
Simon.
Unknown User (vonjanowsky@consist.de)
Hi all,
don't know if this is a bug or not, but the task scanner doesn't work correctly,
for the graphic there is a broken link on the status page.
I upgraded Hudson to 1.88 and the Scanner to 2.0
An Exception ist thrown and shown on the webpage:
javax.servlet.ServletException: java.lang.ClassCastException: java.lang.Object cannot be cast to hudson.plugins.tasks.TasksResult
org.kohsuke.stapler.Stapler.invoke(Stapler.java:370)
org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:361)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:361)
org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:361)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:298)
org.kohsuke.stapler.Stapler.service(Stapler.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)
Greetings from germany,
Simon.
Unknown User (vonjanowsky@consist.de)
the problem arose when throwing the 1.88 hudson.war into the tomcat webapps container and was not deployed corectly... so 1.86 was running with tasks 2.0.... I had to setup Hudson new to get the tasks running again....
greetz,
Simon.
Unknown User (corneil@tsctech.com)
I get the following exception, there are also a lot of exception during startup for task-2.4.
What should be deleted for the task plugin upgrade to work?
Scanning workspace files for tasks...
FATAL: java.lang.Object
java.lang.ClassCastException: java.lang.Object
at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:143)
Unknown User (lukaszr)
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 + ' '.
Unknown User (drulli)
Please use the issue tracker for improvements and defects. I created one for you: JENKINS-1738
Unknown User (wernight)
The help doesn't tell you, but you can have multiple fileset defined. For example for C++ you can have two extensions checked:
Files to scan:
src/*.cpp, src/*.h
Unknown User (drulli)
Thanks for reporting, I updated the description of the field: https://github.com/jenkinsci/tasks-plugin/commit/20f1de12cbff61b8b9aa0a14fbfe462b1c9b41be
Unknown User (postman)
Is it possible to get the absolute or relative path displayed for a file?
I'm scanning C# resource files for specific substrings, and currently this plugin reports the file name only, which makes it a bit hard to find the file in question since we tend to have a large number of files named Resources.resx
Unknown User (drulli)
In which view?
Unknown User (simonc)
Interested to know what people are using for their high/medium/low priority task tags?
The screenshot shows "FIXME" and "TODO", which are obviously a good starting point, but what other markers are people using?
I've got "@deprecated" in low priority.