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

Seems to not handle having builds in seperate folder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Ubuntu 11.10
      Jenkins 1.461
      SCM Sync Configuration Plugin 0.0.5
    • Similar Issues:

      Description

      ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
      java.lang.IllegalArgumentException: Err ! File [/mnt/store/jenkins/CodeGenerationMaven/builds/2012-04-25_15-39-35/build.xml] seems not to reside in [/var/lib/jenkins] !
      at hudson.plugins.scm_sync_configuration.JenkinsFilesHelper.buildPathRelativeToHudsonRoot(JenkinsFilesHelper.java:12)
      at hudson.plugins.scm_sync_configuration.strategies.model.PatternsEntityMatcher.matches(PatternsEntityMatcher.java:21)
      at hudson.plugins.scm_sync_configuration.strategies.AbstractScmSyncStrategy.isSaveableApplicable(AbstractScmSyncStrategy.java:22)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.getStrategyForSaveable(ScmSyncConfigurationPlugin.java:172)
      at hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationSaveableListener.onChange(ScmSyncConfigurationSaveableListener.java:19)
      at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:78)
      at hudson.model.Run.save(Run.java:1571)
      at hudson.maven.MavenModuleSetBuild.setMavenVersionUsed(MavenModuleSetBuild.java:388)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:581)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475)
      at hudson.model.Run.run(Run.java:1434)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:239)

        Attachments

          Issue Links

            Activity

            Hide
            fcamblor Frédéric Camblor added a comment -

            Yup I don't see any other workaround ATM

            This issue is not on my top level priority list, so PR are welcome

            Show
            fcamblor Frédéric Camblor added a comment - Yup I don't see any other workaround ATM This issue is not on my top level priority list, so PR are welcome
            Hide
            marios_nikolaou Marios Nikolaou added a comment -

            I am seeing the same issue in combination with other plugins such as the claim and disk usage plugins. We are using a separate workspace, build and JENKINS_HOME directory.

            Show
            marios_nikolaou Marios Nikolaou added a comment - I am seeing the same issue in combination with other plugins such as the claim and disk usage plugins. We are using a separate workspace, build and JENKINS_HOME directory.
            Hide
            mattfirtion Matthew Firtion added a comment -

            This also affects Jenkins 1.520 with SCM Sync Config 0.0.7.3.

            Show
            mattfirtion Matthew Firtion added a comment - This also affects Jenkins 1.520 with SCM Sync Config 0.0.7.3.
            Hide
            dstj Dominic St-Jacques added a comment -

            I got the same issue, but using Jenkins 1.568 with Windows (SCM Sync Config 0.0.7.4). I cannot use the default install workspace path (C:\Program Files\Jenkins\..) as my git repo has many, many, many long nested folders and I hit the 260 characters windows file path limitation...

            Show
            dstj Dominic St-Jacques added a comment - I got the same issue, but using Jenkins 1.568 with Windows (SCM Sync Config 0.0.7.4). I cannot use the default install workspace path (C:\Program Files\Jenkins\..) as my git repo has many, many, many long nested folders and I hit the 260 characters windows file path limitation...
            Hide
            rodrigc Craig Rodrigues added a comment -

            Fixed in 0.0.9

            Show
            rodrigc Craig Rodrigues added a comment - Fixed in 0.0.9

              People

              Assignee:
              fcamblor Frédéric Camblor
              Reporter:
              chrislovsund Christian Lövsund
              Votes:
              9 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: