Unset environment variable in an exec task

environment is a map, so environment.remove("SOME_ENV_VAR").

2 Likes