Skip to content

Commit

Permalink
Merge pull request #252 from CoreMedia/memory-leak
Browse files Browse the repository at this point in the history
[JENKINS-23762] Added Memory-Leak Warning
  • Loading branch information
daspilker committed Jul 31, 2014
2 parents 2eddd4b + 5c7a57a commit 717da24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/Extending-the-DSL-from-your-Job-Scripts.md
@@ -1,3 +1,6 @@
**WARNING:** Monkey-patching causes memory-leaks, so avoid monkey-patching if you do not want your Jenkins to die a slow
and painful death. See [JENKINS-23762](https://issues.jenkins-ci.org/browse/JENKINS-23762) for details.

If you want to introduce custom DSL commands, you can monkey-patch **Context classes from your scripts. For example:
```groovy
import javaposse.jobdsl.dsl.helpers.*
Expand Down

0 comments on commit 717da24

Please sign in to comment.