Skip to content
Permalink
Browse files

Merge pull request #252 from CoreMedia/memory-leak

[JENKINS-23762] Added Memory-Leak Warning
  • Loading branch information
daspilker committed Jul 31, 2014
2 parents 2eddd4b + 5c7a57a commit 717da240d763c48a74242aa7b733b1a7d79f3006
Showing with 3 additions and 0 deletions.
  1. +3 −0 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.*

0 comments on commit 717da24

Please sign in to comment.
You can’t perform that action at this time.