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

Provide option to specify additional source folders

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • tasks-plugin
    • None
    • Ubuntu x64, running Hudson Standalone

      I have created a PHP Maven project with the Maven PHP Project, enabled the Task plugin, and set the files to scan to ***/*.php

      No exclusions, typical scan of FIXME, TODO ; @deprecated, case insensitive.

      No further configuration.

      When a build is performed, I see the following output:

      [INFO] [clean:clean] [INFO] Deleting directory /var/lib/hudson/jobs/HStore/workspace/target
      [TASKS] Skipping non-existent folder '/var/lib/hudson/jobs/HStore/workspace/src/main/java'...
      [TASKS] Skipping non-existent folder '/var/lib/hudson/jobs/HStore/workspace/src/test/java'...
      [TASKS] Skipping non-existent folder '/var/lib/hudson/jobs/HStore/workspace/src/main/resources'...
      [TASKS] Skipping non-existent folder '/var/lib/hudson/jobs/HStore/workspace/src/test/resources'...
      [TASKS] Skipping maven reporter: there is already a result available

      The last line is repeated several times during build.

      The plugin seems to assume that this is a java project, and therefore searches for the default source folders, but fails to find any, since my code is in src/main/php. No php files seem to ever be scanned, and all reports show 0 tasks even when I add TODOs and FIXMEs.

            drulli Ulli Hafner
            jsotuyod Juan Sotuyo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: