Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8432

The plugin capture tags in strings

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: tasks-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      When using the plugin on my code, it detect some strings "XXX" as task tag...
      Task tags should be detected only in comments.

      In tasks list I have now :

      File Line Priority Type Message
      MyClass.java 36 LOW XXX ");
      MyClass.java 89 MEDIUM TODO Auto-generated method stub

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          I'm not sure if this is always desired. E.g., if someone has line like object.method("TODO: define output text"); This should be an optional feature.

          What makes it even more difficult: currently the parser works only line by line, e.g. Strings need to be defined within one line.

          Show
          drulli Ulli Hafner added a comment - I'm not sure if this is always desired. E.g., if someone has line like object.method("TODO: define output text"); This should be an optional feature. What makes it even more difficult: currently the parser works only line by line, e.g. Strings need to be defined within one line.
          Hide
          drulli Ulli Hafner added a comment -

          Most of these problems could be avoided by defining the regexp on your own (see JENKINS-17225).

          Show
          drulli Ulli Hafner added a comment - Most of these problems could be avoided by defining the regexp on your own (see JENKINS-17225 ).

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              zigarn Alexandre Garnier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: