Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26447

Remote shell script should be killed when build is aborted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: ssh-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      When the build is aborted, the remote shell should be killed or gracefully stopped.

        Attachments

          Activity

          ericcitaire Eric Citaire created issue -
          Hide
          johnnybgoode John Tatum added a comment -

          I think that would be non-trivial given the way this plugin executes commands. This plugin does not use an interactive shell, instead it passes a command to the server and awaits a response indicating a return code. Because of that, it would not be able to interrupt the remote process without passing another command to do so. Even in that instance, you would have to know the PID of the remote command.

          Show
          johnnybgoode John Tatum added a comment - I think that would be non-trivial given the way this plugin executes commands. This plugin does not use an interactive shell, instead it passes a command to the server and awaits a response indicating a return code. Because of that, it would not be able to interrupt the remote process without passing another command to do so. Even in that instance, you would have to know the PID of the remote command.
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 160514 ] JNJira + In-Review [ 180384 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ericcitaire Eric Citaire
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: