Build up a tag map
This commit is contained in:
parent
453a14acc5
commit
462b17733f
1 changed files with 2 additions and 0 deletions
|
|
@ -41,7 +41,9 @@ LinkedHashMap<String, ArrayList<String>> getremoteshatagmap(String repositoryURL
|
|||
|
||||
LinkedHashMap<String, ArrayList<String>> shatagmap = new LinkedHashMap<String, ArrayList<String>>()
|
||||
for (shatag in shataglist) {
|
||||
echo "shatag: ${shatag}"
|
||||
def shatagfields = shatag.split(' ')
|
||||
echo "shatagfields: ${shatagfields}"
|
||||
def sha = shatagfields[0].trim()
|
||||
def tag = shatagfields[1].trim()
|
||||
shatagmap[sha].add(tag)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue