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

wagon-ssh: add API option to check for remote exit code

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10
    • Fix Version/s: 2.12
    • Component/s: wagon-ssh
    • Labels:
      None

      Activity

      Hide
      dantran Dan Tran added a comment -

      currently wagon-ssh has

      execute(String cmd)
      execuate(String cmd, boolean ignoreError)

      The second one ignores the stderr as error but not heck for exit code

      we need to introduce one more interface

      execute(String cmd, boolean ignoreStderr, boolean ignoreNoneZeroExitCode)

      Show
      dantran Dan Tran added a comment - currently wagon-ssh has execute(String cmd) execuate(String cmd, boolean ignoreError) The second one ignores the stderr as error but not heck for exit code we need to introduce one more interface execute(String cmd, boolean ignoreStderr, boolean ignoreNoneZeroExitCode)
      Hide
      hudson Hudson added a comment -

      UNSTABLE: Integrated in Jenkins build maven-wagon #1310 (See https://builds.apache.org/job/maven-wagon/1310/)
      WAGON-465 Add ability to ignore errors sshexec errors on stderr and (dan.tran: rev 5a8a63f6c425f0e572032a9ab64ae086047dfd88)

      • (edit) wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java
      Show
      hudson Hudson added a comment - UNSTABLE: Integrated in Jenkins build maven-wagon #1310 (See https://builds.apache.org/job/maven-wagon/1310/ ) WAGON-465 Add ability to ignore errors sshexec errors on stderr and (dan.tran: rev 5a8a63f6c425f0e572032a9ab64ae086047dfd88) (edit) wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java
      Hide
      hudson Hudson added a comment -

      UNSTABLE: Integrated in Jenkins build maven-wagon #1311 (See https://builds.apache.org/job/maven-wagon/1311/)
      Revert "WAGON-465 Add ability to ignore errors sshexec errors" (dan.tran: rev 87338f924f1e4c1194ee8c6afa6a97c85b344463)

      • (edit) wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java
      Show
      hudson Hudson added a comment - UNSTABLE: Integrated in Jenkins build maven-wagon #1311 (See https://builds.apache.org/job/maven-wagon/1311/ ) Revert " WAGON-465 Add ability to ignore errors sshexec errors" (dan.tran: rev 87338f924f1e4c1194ee8c6afa6a97c85b344463) (edit) wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java
      Hide
      hudson Hudson added a comment -

      SUCCESS: Integrated in Jenkins build maven-wagon #1312 (See https://builds.apache.org/job/maven-wagon/1312/)
      WAGON-465 add options ignore stderr and/or none 0 exit code (dantran: rev 246c6daf1ca3fba385f71c89fdf798d2b519ced6)

      • (edit) wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java
      • (edit) wagon-provider-api/src/main/java/org/apache/maven/wagon/AbstractWagon.java
      Show
      hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-wagon #1312 (See https://builds.apache.org/job/maven-wagon/1312/ ) WAGON-465 add options ignore stderr and/or none 0 exit code (dantran: rev 246c6daf1ca3fba385f71c89fdf798d2b519ced6) (edit) wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java (edit) wagon-provider-api/src/main/java/org/apache/maven/wagon/AbstractWagon.java
      Show
      dantran Dan Tran added a comment - fixed at https://git1-us-west.apache.org/repos/asf?p=maven-wagon.git;a=commitdiff;h=246c6daf1ca3fba385f71c89fdf798d2b519ced6

        People

        • Assignee:
          dantran Dan Tran
          Reporter:
          dantran Dan Tran
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development