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

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: svnmerge-plugin
    • Labels:
      None
    • Environment:
      Windows Server 2003 R2 with TomCat
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          knalli 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

          Show
          knalli 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
          Hide
          kleist 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.

          Show
          kleist 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.
          Hide
          flet 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?

          Show
          flet 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?
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: