Environment Variables

How do you get a java runtime environment variable

In my process I have a task with a groovy script that needs a condition based on the Java runtime environment variables.

ie. -Denvironment=production vs. -Denvironment=development

How can I access this in my Groovy script?

Notifications