Jenkins job would not exit when executing ssh task

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major
    • None
    • Environment:
      Jenkins 1.447.1
      Publish Over SSH Plugin Version 1.9
      Master: Windows Server 2008, Tomcat
      Slave: Windows XP
      SSH Server: Solaris 10

      Hi, we have two jobs that need to execute command on SSH server, but they both have the problem that job would not exit even if the task is finished.

      1. command is "scp username@server:branch/something.tar .", the tar file is almost 400M. After running for 30 minutes, I could see that the file is already in the directory and the scp process is finished, but the Jenkins job is still running with no stdout and stderr in Jenkin console. But when I select the option "Exec in pty", this job runs well.

      2. For another job, it still could not exit even if I check the " Exec in pty" option. In this job, we run a script to check out code from svn and the files is a bit lot. We found the same situation that all files have been checked out and the svn process is no longer existed, but Jenkins job is still running and we have to abort manually.

      I'm not sure if this issue is related to JENKINS-10680, could you please tell me what should we do, is the problem of the script or others?

      Thanks

            Assignee:
            Alex Earl
            Reporter:
            tigren zhang
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: