Maven 1.x Artifact Plugin
  1. Maven 1.x Artifact Plugin
  2. MPARTIFACT-34

ScpExeDeployer calls to ssh and scp fail silently

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.4.1
    • Labels:
      None
    • Environment:
      Fedora Core 2, JDK 1.4.2_05, Maven 1.0
    • Number of attachments :
      2

      Description

      When deploying the ScpExeDeployer does not check the return codes of the processes it executes. If a problem occurrs it continues without failing and the build reports successful but the artifacts to be deployed are not in the repository.

      1. MPARTIFACT-34.patch
        1 kB
        Mark Church
      2. MPARTIFACT-34.patch
        1 kB
        Mark Church

        Activity

        Hide
        Mark Church added a comment -

        This patch adds an Integer argument to executeSimpleCommand that is the expected returnn value of the process. If the expected return code is null then any return code is accepted. This is for the "rm -r" command which may fail on deploying to the repository for the first time.

        Show
        Mark Church added a comment - This patch adds an Integer argument to executeSimpleCommand that is the expected returnn value of the process. If the expected return code is null then any return code is accepted. This is for the "rm -r" command which may fail on deploying to the repository for the first time.
        Hide
        Mark Church added a comment -

        Oops. Had an == instead of a != when checking the return code.

        Show
        Mark Church added a comment - Oops. Had an == instead of a != when checking the return code.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 4 hours
              4h
              Remaining:
              Remaining Estimate - 4 hours
              4h
              Logged:
              Time Spent - Not Specified
              Not Specified