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

Plugin does not scan non-java files

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Component/s: tasks-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Despite what is implied in the documentation, this plugin does not seem to work with anything other than Java files. I tried putting

      **/*.java, **/*.xml, **/*.jsp

      into the 'Files to scan
      ' field, but only the Java files are analyzed.

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment - - edited

          Can you please check if a single expression works for you? E.g.

          **/*.xml
          Show
          drulli Ulli Hafner added a comment - - edited Can you please check if a single expression works for you? E.g. **/*.xml
          Hide
          drulli Ulli Hafner added a comment -

          I just tried on my machine without any problems. Which version of Hudson, tasks-plugin and analysis-core are you using?
          Is this a freestyle or m2 project?

          When you enter the expression in the field, is there an error message from Hudson that the files that match that expression cannot be found? (If not, please enter something non-existent and check if the message appears)?

          How many files are scanned by the plug-in (see log and the summary)?

          Show
          drulli Ulli Hafner added a comment - I just tried on my machine without any problems. Which version of Hudson, tasks-plugin and analysis-core are you using? Is this a freestyle or m2 project? When you enter the expression in the field, is there an error message from Hudson that the files that match that expression cannot be found? (If not, please enter something non-existent and check if the message appears)? How many files are scanned by the plug-in (see log and the summary)?
          Hide
          johnsmart johnsmart added a comment -

          I'm using the latest version of Hudson and the plugins. Tried this:

          **/*.xml

          , but it gave no results without any error messages.

          Show
          johnsmart johnsmart added a comment - I'm using the latest version of Hudson and the plugins. Tried this: **/*.xml , but it gave no results without any error messages.
          Hide
          drulli Ulli Hafner added a comment - - edited

          Can you please answer all questions?

          Is this a freestyle or m2 project?

          Is the job on Windows or Unix?

          Is there something in the build log like:
          [TASKS] Scanning workspace files for tasks...

          Is there something on the job page like:
          Task Scanner: 30 open tasks in 370 workspace files.

          In the job configuration: when you enter the expression "ABC" in the pattern field, is there an error message from Hudson that the files that match that expression cannot be found? If YES: Try **/*.xml and check if the error message will get away?

          Show
          drulli Ulli Hafner added a comment - - edited Can you please answer all questions? Is this a freestyle or m2 project? Is the job on Windows or Unix? Is there something in the build log like: [TASKS] Scanning workspace files for tasks... Is there something on the job page like: Task Scanner: 30 open tasks in 370 workspace files. In the job configuration: when you enter the expression "ABC" in the pattern field, is there an error message from Hudson that the files that match that expression cannot be found? If YES: Try **/*.xml and check if the error message will get away?
          Hide
          drulli Ulli Hafner added a comment -

          If this does still not work please reopen and answer the questions.

          Show
          drulli Ulli Hafner added a comment - If this does still not work please reopen and answer the questions.

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              johnsmart johnsmart
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: