Fixed killing of old tests in test formulas
Change-Id: Ia3fd99ddf8ffb4961909242887fa46858e273de4
diff --git a/test-salt-formulas-pipeline.groovy b/test-salt-formulas-pipeline.groovy
index 61379ab..87c4f51 100644
--- a/test-salt-formulas-pipeline.groovy
+++ b/test-salt-formulas-pipeline.groovy
@@ -90,7 +90,7 @@
def triggeredBuilds= gerrit.getGerritTriggeredBuilds(jenkinsUtils.getJobRunningBuilds(jobName), gerritChangeNumber, excludePatchsetNumber)
def buildNums =[]
for(int i=0;i<triggeredBuilds.size();i++){
- buildNums.put(triggeredBuilds[i].number)
+ buildNums.add(triggeredBuilds[i].number)
}
return buildNums
}