Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-41

Wagon SCM does not add correctly new files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0-beta-1
    • 1.0-beta-3
    • wagon-scm
    • None

    Description

      If the directory to deploy the site to exists, but the files don't, the deploy doesn't add new files.
      The problem is that tries to add files target/checkout/* using target/checkout as working dir, so the scm add fails, but Wagon doesn't check for failure in the add command, so neither does it deploy or show the error.

      We need to:
      cover that case in unit tests (better if done at wagon-test level)
      make wagon fail when the add command fails
      make wagon add the right file name relative from the working dir

      Attachments

        Activity

          People

            carlos Carlos Sanchez Gonzalez
            carlos Carlos Sanchez Gonzalez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 9.5h
                9.5h