Upgrading to gitlab api plugin version 1.0.2.
Changes:
AccessTokenUtils used to take a list of String to define Personal Access Token scope. Now it takes a Scope enum.
See https://github.com/baymac/gitlab-branch-source-plugin/pull/2