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