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

this window is "Interactive Services Detection" is pop up when tomcat is up

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not A Defect
    • None
    • jenkins is on windows 7,
      ssh server(FreeSSHd as a service) and tomcat is on windows server 2008 x64

    Description

      I write in the section "Exec command" of the Publish Over SSH Plugin:

      cmd /c call C:\sftp\myscript.bat $BUILD_NUMBER

      The content of the file myscript.bat is as follow:

      Echo  ---------begin--------

      Echo shutdown tomcat(use port 8080)
      @echo off
      setlocal enabledelayedexpansion
      for /f "delims= tokens=1" %%i in ('netstat -aon ^| findstr "8080"') do (
      set a=%%i
      goto js
      )
      :js
      taskkill /f /pid "Unable to render embedded object: File (~71,5) not found."
      Echo startup tomcat
      @echo off
      C:
      cd C:\software\apache-tomcat-6.0.39\bin
      call startup.bat

      Echo  ---------end--------

      issue reproduced as follow steps:

      1.jenkins execute myscript.bat file successfully.

      2.log on the windows server 2008 machine which the ssh server & tomcat is on.

      3.i find a window is prompt,this window is "Interactive Services Detection"

      4.i don't know why this window is pop up,can you give me suggestion?i also attach 3 images to explain this question.

      Attachments

        1. 1-1.png
          1-1.png
          119 kB
        2. 1-2.png
          1-2.png
          240 kB
        3. 1-3.jpg
          1-3.jpg
          12 kB
        4. ok.png
          ok.png
          116 kB

        Activity

          09121984 jn cheng created issue -
          09121984 jn cheng made changes -
          Field Original Value New Value
          Assignee jn cheng [ 09121984 ] Alex Earl [ slide_o_mix ]
          09121984 jn cheng made changes -
          Attachment 2.jpg [ 43579 ]
          09121984 jn cheng made changes -
          Attachment 1.jpg [ 43580 ]
          09121984 jn cheng made changes -
          Attachment 1-1.png [ 43591 ]
          Attachment 1-2.png [ 43592 ]
          09121984 jn cheng made changes -
          Attachment 1-3.jpg [ 43593 ]
          09121984 jn cheng made changes -
          Description I write in the section "Exec command" of the Publish Over SSH Plugin:

          cmd /c call C:\sftp\myscript.bat $BUILD_NUMBER

          The content of the file myscript.bat is as follow:

          Echo  ----------begin---------

          Echo shutdown tomcat(use port 8080)
          @echo off
          setlocal enabledelayedexpansion
          for /f "delims= tokens=1" %%i in ('netstat -aon ^| findstr "8080"') do (
          set a=%%i
          goto js
          )
          :js
          taskkill /f /pid "!a:~71,5!"
          Echo startup tomcat
          @echo off
          C:
          cd C:\software\apache-tomcat-6.0.39\bin
          call startup.bat

          Echo  ----------end---------

          issue reproduced as follow steps:

          1.jenkins execute myscript.bat file successfully.

          2.log on the windows server 2008 machine which the ssh server & tomcat is on.

          3.i find a window is prompt,this window is "Interactive Services Detection"

          4.i don't know why this window is pop up,can you give me suggestion?i also attach two images to explain this question.
          I write in the section "Exec command" of the Publish Over SSH Plugin:

          cmd /c call C:\sftp\myscript.bat $BUILD_NUMBER

          The content of the file myscript.bat is as follow:

          Echo  ----------begin---------

          Echo shutdown tomcat(use port 8080)
           @echo off
           setlocal enabledelayedexpansion
           for /f "delims= tokens=1" %%i in ('netstat -aon ^| findstr "8080"') do (
           set a=%%i
           goto js
           )
           :js
           taskkill /f /pid "!~71,5!"
           Echo startup tomcat
           @echo off
           C:
           cd C:\software\apache-tomcat-6.0.39\bin
           call startup.bat

          Echo  ----------end---------

          issue reproduced as follow steps:

          1.jenkins execute myscript.bat file successfully.

          2.log on the windows server 2008 machine which the ssh server & tomcat is on.

          3.i find a window is prompt,this window is "Interactive Services Detection"

          4.i don't know why this window is pop up,can you give me suggestion?i also attach 3 images to explain this question.
          09121984 jn cheng made changes -
          Attachment ok.png [ 43597 ]
          slide_o_mix Alex Earl made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Closed [ 6 ]

          People

            slide_o_mix Alex Earl
            09121984 jn cheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: