Forum Discussion

oleksii's avatar
oleksii
Occasional Contributor
8 years ago

How to set OS environment variable from groovy script.

I've not found a way to set OS environment variable from a groovy test step. Tried this: System.setProperty("prp_name", "value") def prp = System.getProperties() log.info prp["prp_name"] It only w...