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

Groovy Postbuild Plugin does not like Jenkins Option: "Build Record Root Directory"

    Details

    • Similar Issues:

      Description

      I have had lots of great success with this plugin . . . thank you so much.

      I have a Jenkins instance where the option "Build Record Root Directory" has been set (Jenkins->Config->Advanced right under Jenkins Root).

      So JENKINS_HOME is under C:\Program Files, but the build records are under C:\jenkins . . . see error messages below.

      In this case, the plugin is throwing the following error for all jobs:

      ERROR: Publisher org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder aborted due to exception
      java.lang.IllegalArgumentException: Err ! File [C:\jenkins\fmerrow3\Update Robo CSPECs\builds\2013-10-10_14-06-37\build.xml] seems not to reside in [C:\Program Files (x86)\Jenkins] !
      at hudson.plugins.scm_sync_configuration.JenkinsFilesHelper.buildPathRelativeToHudsonRoot(JenkinsFilesHelper.java:12)
      at hudson.plugins.scm_sync_configuration.strategies.model.PatternsEntityMatcher.matches(PatternsEntityMatcher.java:25)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fcamblor Frédéric Camblor
                Reporter:
                fmerrow Frank Merrow
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: