def heads= ("git ls-remote -h git@gitlab.com:*.git").execute()def headlist=heads.text.readLines().collect{it.split()[1]};def list=[''];list.addAll(headlist);return list;