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

Remote shell script should be killed when build is aborted

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ssh-plugin
    • None

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

          [JENKINS-26447] Remote shell script should be killed when build is aborted

          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.

          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.

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

              Created:
              Updated: