Forum Discussion
1 Reply
Sort By
- avidCoderSuper Contributor
Try this code :-
def env = System.getenv()
log.info env
Related Content
- 10 years agojeetendra_mitta
I need to fetch the system environment variable in the groovy script test case. I tried default context expand (#Env#windir) but does not work.
Try this code :-
def env = System.getenv()
log.info env