See https://github.com/baymac/gitlab-branch-source-plugin/pull/16
To populate environment variable,
if your using mvn hpi:run you can do GITLAB_PERSONAL_ACCESS_TOKEN="MYTOKEN" mvn hpi:run
Or inside IntelliJ run configuration, you can add the environment variable
Had a misunderstanding between global properties and environment variable.