Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-778

Build fails when run outside of git working directory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-incubating.M1
    • build
    • None

    Description

      When a build is executed outside of a git repository, it fails:

      Anthony-Baker-MacBook-Pro:apache-geode-src-1.0.0-incubating-SNAPSHOT abaker$ gradle build -Dskip.tests=true
      
      FAILURE: Build failed with an exception.
      
      * Where:
      Build file '/Users/abaker/tmp/apache-geode-src-1.0.0-incubating-SNAPSHOT/build.gradle' line: 57
      
      * What went wrong:
      A problem occurred evaluating root project 'gemfire'.
      > Failed to apply plugin [id 'org.ajoberstar.grgit']
         > One of setGitDir or setWorkTree must be called.
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      BUILD FAILED
      
      Total time: 1.265 secs
      

      Attachments

        Issue Links

          Activity

            People

              abaker Anthony Baker
              abaker Anthony Baker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: