• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • core
    • None
    • Platform: All, OS: Linux

      We use Hudson to start a Tomcat application server before tests are running. The freestyle project uses
      an ant target for this with "fork=true" and "spawn=true", because we want to keep the Tomcat running
      after the build.

      Since Hudson version 1.284 it kills the tomcat-process after the build finished, even if the spawn
      option is set.

      Is there an option in Hudson available that prevents the process-killing?

      Thank you
      Timo Meinen

          [JENKINS-3125] Hudson kills processes started within builds

          timomeinen created issue -

          mdonohue added a comment -

          set the environment variable BUILD_ID to something like 'dontKillMe' in the
          process that should stay alive.

          Hudson looks for that environment variable when cleaning up stray processes.

              • This issue has been marked as a duplicate of 3105 ***

          mdonohue added a comment - set the environment variable BUILD_ID to something like 'dontKillMe' in the process that should stay alive. Hudson looks for that environment variable when cleaning up stray processes. This issue has been marked as a duplicate of 3105 ***
          mdonohue made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          mdonohue made changes -
          Link New: This issue duplicates JENKINS-3105 [ JENKINS-3105 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 133198 ] New: JNJira + In-Review [ 201985 ]

            Unassigned Unassigned
            timomeinen timomeinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: