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

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

    • 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.

          [JENKINS-11379] "Local module directory" not copied from trunk project when creating a feature branch

          knalli added a comment - - edited

          I can confirm this issue. Same situation, is broken. However, workaround is easy: Update the created new job.

          Environment: RHEL 6 w/ 2.6.32-131.6.1.el6.x86_64 #1 SMP Tue Jul 12 18:14:30 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

          knalli added a comment - - edited I can confirm this issue. Same situation, is broken. However, workaround is easy: Update the created new job. Environment: RHEL 6 w/ 2.6.32-131.6.1.el6.x86_64 #1 SMP Tue Jul 12 18:14:30 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

          I just ran into this issue. There's a fix for it by ain322 here https://github.com/ain322/svnmerge-plugin/commit/39180697dee473ad766c28a16ebc57fb89b7d32d.

          It just needs to be pulled into master and released.

          Andreas Kleist Svendsen added a comment - I just ran into this issue. There's a fix for it by ain322 here https://github.com/ain322/svnmerge-plugin/commit/39180697dee473ad766c28a16ebc57fb89b7d32d . It just needs to be pulled into master and released.

          Dan Flettre added a comment -

          I concur, we're also waiting for this issue to be resolved. Is there a timeline for getting this pulled into master and released?

          Dan Flettre added a comment - I concur, we're also waiting for this issue to be resolved. Is there a timeline for getting this pulled into master and released?

          Code changed in jenkins
          User: Gergely Toth
          Path:
          src/main/java/jenkins/plugins/svnmerge/IntegratableProjectAction.java
          http://jenkins-ci.org/commit/svnmerge-plugin/39180697dee473ad766c28a16ebc57fb89b7d32d
          Log:
          Fix for issue JENKINS-11379

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gergely Toth Path: src/main/java/jenkins/plugins/svnmerge/IntegratableProjectAction.java http://jenkins-ci.org/commit/svnmerge-plugin/39180697dee473ad766c28a16ebc57fb89b7d32d Log: Fix for issue JENKINS-11379

          Code changed in jenkins
          User: Hugues Chabot
          Path:
          src/main/java/jenkins/plugins/svnmerge/IntegratableProjectAction.java
          http://jenkins-ci.org/commit/svnmerge-plugin/23619da64fac66d2bd2f553dd10c33fb1e3f1f46
          Log:
          Merge pull request #4 from ain322/JENKINS-11379

          [FIXED JENKINS-11379] add original localDir to new ModuleLocation

          Compare: https://github.com/jenkinsci/svnmerge-plugin/compare/f2b6945e64a5...23619da64fac

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Hugues Chabot Path: src/main/java/jenkins/plugins/svnmerge/IntegratableProjectAction.java http://jenkins-ci.org/commit/svnmerge-plugin/23619da64fac66d2bd2f553dd10c33fb1e3f1f46 Log: Merge pull request #4 from ain322/ JENKINS-11379 [FIXED JENKINS-11379] add original localDir to new ModuleLocation Compare: https://github.com/jenkinsci/svnmerge-plugin/compare/f2b6945e64a5...23619da64fac

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

              Created:
              Updated:
              Resolved: