Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Depending on how you run your container, this can be different.

How it works

The ProcessTreeKiller takes advantage of the fact that by default a new process gets a copy of the environment variables of its spawning/creating process.

...

A convenient way to achieve that is to change some of the environment variables Hudson look for's ProcessTreeKiller is looking. This will cause Hudson to assume that your daemon is not spawned by the Hudson build. For example:

Code Block

BUILD_ID=dontKillMe
/usr/apache/bin/httpd