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

"Local module directory" not copied from trunk project when creating a feature branch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • svnmerge-plugin
    • None
    • Windows Server 2003 R2 with TomCat

      1. Created a trunk project in Jenkins and verified that it built successfully.
      2. Created a feature project through Jenkins
      3. Attempted to build the branch only to find that Jenkins couldn't locate the necessary batch files.

      Upon further investigation I noticed that Jenkins was checking out the files to a subdirectory (same name as branch) of the workspace instead of directly to the workspace folder like the trunk was doing. That's when I realized the the "Local module directory (optional)" setting for the branch didn't match the trunk. The trunk's option was set to '.', but the branch's option was empty. In order for a branch to build straightaway this setting should be copied from the trunk project.

            kohsuke Kohsuke Kawaguchi
            proudgecko David Schamber
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: