Add method java.util.Collection toArray to jenkins approved scripts

Change-Id: Iac856dcb8d5372d6c3723aad5c02ee494e7b73aa
diff --git a/jenkins/client/approved_scripts.yml b/jenkins/client/approved_scripts.yml
index dbc74d6..65db576 100644
--- a/jenkins/client/approved_scripts.yml
+++ b/jenkins/client/approved_scripts.yml
@@ -156,3 +156,4 @@
         - method hudson.model.ParametersDefinitionProperty getParameterDefinitions
         - method hudson.model.ParameterDefinition getName
         - method hudson.model.StringParameterDefinition getDefaultValue
+        - method java.util.Collection toArray