Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2677

Viewing build result silently fails when build output directory is unwritable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:

      Description

      When the build output directory is not writable, the following appears in the logs:

      2012-02-24 10:45:04,219 [pool-1-thread-1] ERROR action#execute-builder  - Error running buildResult
      org.apache.maven.continuum.configuration.ConfigurationException: Could not make the build output directory: '/Users/brett/scm/continuum/continuum/continuum-jetty/target/apache-continuum-1.4.1-SNAPSHOT/data/build-output-directory/1'.
              at org.apache.maven.continuum.configuration.DefaultConfigurationService.getBuildOutputFile(DefaultConfigurationService.java:575)
              at org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:134)
              at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:444)
              at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:166)
              at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:48)
              at org.apache.continuum.taskqueueexecutor.ParallelBuildsThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ParallelBuildsThreadedTaskQueueExecutor.java:120)
      

      If you then try to view the build result, Continuum redirects to Continuum home page instead of showing an error that the build result is missing, and puts no further information in the logs

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              brettporter Brett Porter
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: