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

Jenkins Maven Release Plug-in fails because workspace directory does not exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • m2release-plugin
    • None
    • Mac OS X 10.6.7

      I have a multi-module maven project. It successfully builds, and the release:prepare successfully competes. However, after all of the steps (looking at console output) have completed, the whole thing fails when it tries to do something with an extra workspace directory that doesn't exist.

      Here's the last part of the exception.
      Caused by: org.codehaus.plexus.util.cli.CommandLineException: Working directory "/Users/dallwardt/.jenkins/jobs/Vault-test6/workspace/target/checkout/workspace" does not exist!
      at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:644)
      at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:118)
      at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:93)
      at org.apache.maven.shared.invoker.DefaultInvoker.executeCommandLine(DefaultInvoker.java:149)
      at org.apache.maven.shared.invoker.DefaultInvoker.execute(DefaultInvoker.java:102)
      at org.apache.maven.shared.release.exec.InvokerMavenExecutor.executeGoals(InvokerMavenExecutor.java:387)
      ... 36 more
      channel stopped
      Finished: FAILURE

      Here's what the file system looks like:
      dallwardt$ pwd
      /Users/dallwardt/.jenkins/jobs/Vault-test6/workspace

      dallwardt$ ls
      Common WzlDocs pom.xml pom.xml.releaseBackup release.properties target

      dallwardt$ pwd
      /Users/dallwardt/.jenkins/jobs/Vault-test6/workspace/target/checkout

      dallwardt$ ls
      dev tags trunk


      Notice there is no workspace directory under target/checkout. Who is supposed to create an extra workspace folder under target/checkout ?

            Unassigned Unassigned
            dallwardtveeva Derek Allwardt
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: