Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Last active July 3, 2020 11:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/2552cc387e94e9ce9943e5873df4e771 to your computer and use it in GitHub Desktop.
Save velotiotech/2552cc387e94e9ce9943e5873df4e771 to your computer and use it in GitHub Desktop.
EnvVars envVars = new EnvVars();
** Assign it to the build environment.
envVars = build.getEnvironment(listener);
** Put the values which you wanted to expose as environment variable.
envVars.put("offer", getOffer);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment