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

Maven settings file not found (concurrent build of same project)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None

      I am doing concurrent builds of the same project. Additionally I have specified a custom maven settings file which lies inside the workspace. Hudson sometimes fails to load this file, because it looks in the wrong workspace.

      In the following log extract, you can see, that the workspace is cloned to /home/delta/hudson/workspace/lisa-review-single but the settings file is read from /home/delta/hudson/workspace/lisa-review-single@4/settings_lisa.xml

      This is obviously wrong.

      Started by user anonymous
      Building remotely on lisa-build.deu.hp.com
      Checkout:lisa-review-single / /home/delta/hudson/workspace/lisa-review-single - hudson.remoting.Channel@1a4903e:lisa-build.deu.hp.com
      Using strategy: Default
      Last Built Revision: Revision eeb6fca6950837152666f551eae310bb0f11e6e0 (detached)
      Checkout:lisa-review-single / /home/delta/hudson/workspace/lisa-review-single - hudson.remoting.LocalChannel@24759265

      ...

      Parsing POMs
      ERROR: No such settings file /home/delta/hudson/workspace/lisa-review-single@4/settings_lisa.xml exists

            abayer Andrew Bayer
            tisoft_media tisoft_media
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: