Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | approved_scripts: |
| 5 | - field java.lang.String value |
| 6 | - field java.util.ArrayList size |
| 7 | - method com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey getPrivateKey |
| 8 | - method com.cloudbees.plugins.credentials.common.IdCredentials getId |
| 9 | - method com.cloudbees.plugins.credentials.common.PasswordCredentials getPassword |
| 10 | - method com.cloudbees.plugins.credentials.common.UsernameCredentials getUsername |
| 11 | - method groovy.json.JsonBuilder toPrettyString |
| 12 | - method groovy.json.JsonSlurperClassic parseText java.lang.String |
| 13 | - method groovy.lang.GString getBytes |
| 14 | - method groovy.lang.GroovyObject getProperty java.lang.String |
Mykyta Karpin | d06c890 | 2018-04-25 17:55:55 +0300 | [diff] [blame] | 15 | - method groovy.util.Node get java.lang.String |
Mykyta Karpin | 762529f | 2017-08-11 12:12:55 +0300 | [diff] [blame] | 16 | - method groovy.util.Node attributes |
| 17 | - method groovy.util.XmlParser parse java.io.File |
Mykyta Karpin | 7bd9a7b | 2017-10-19 17:46:07 +0300 | [diff] [blame] | 18 | - method groovy.util.XmlParser parseText java.lang.String |
Alexander Evseev | 66f830d | 2018-03-30 17:43:30 +0200 | [diff] [blame] | 19 | - method hudson.EnvVars get java.lang.String java.lang.String |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 20 | - method hudson.PluginManager getPlugins |
| 21 | - method hudson.PluginWrapper getShortName |
Alexander Evseev | 8f186b9 | 2017-11-28 17:20:20 +0100 | [diff] [blame] | 22 | - method hudson.model.Hudson getSlaves |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 23 | - method hudson.model.Item getName |
| 24 | - method hudson.model.ItemGroup getItem java.lang.String |
| 25 | - method hudson.model.ItemGroup getItems |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 26 | - method hudson.model.Job getBuildByNumber int |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 27 | - method hudson.model.Job getBuilds |
| 28 | - method hudson.model.Job getLastBuild |
Alexander Evseev | 538ee70 | 2017-11-28 17:36:35 +0100 | [diff] [blame] | 29 | - method hudson.model.Node getLabelString |
| 30 | - method hudson.model.Node getNodeName |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 31 | - method hudson.model.Run getEnvironment |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 32 | - method hudson.model.Run getId |
| 33 | - method hudson.model.Run getNumber |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 34 | - method hudson.model.Run getResult |
| 35 | - method hudson.model.Run getTimeInMillis |
| 36 | - method hudson.model.Run isBuilding |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 37 | - method java.io.File getAbsolutePath |
| 38 | - method java.io.File getName |
| 39 | - method java.io.File getParent |
| 40 | - method java.io.Writer write java.lang.String |
| 41 | - method java.lang.AutoCloseable close |
| 42 | - method java.lang.Class isInstance java.lang.Object |
| 43 | - method java.lang.Iterable iterator |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 44 | - method java.lang.Throwable printStackTrace |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 45 | - method java.net.HttpURLConnection getResponseCode |
| 46 | - method java.net.HttpURLConnection setRequestMethod java.lang.String |
| 47 | - method java.net.URI getHost |
| 48 | - method java.net.URI getPort |
| 49 | - method java.net.URL openConnection |
| 50 | - method java.net.URLConnection getHeaderField java.lang.String |
| 51 | - method java.net.URLConnection getInputStream |
| 52 | - method java.net.URLConnection getOutputStream |
| 53 | - method java.net.URLConnection setDoOutput boolean |
| 54 | - method java.net.URLConnection setRequestProperty java.lang.String java.lang.String |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 55 | - method java.util.Collection remove java.lang.Object |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 56 | - method java.util.Collection stream |
Oleg Grigorov | f7b14da | 2017-10-25 19:08:18 +0300 | [diff] [blame] | 57 | - method java.util.Date getTime |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 58 | - method java.util.LinkedHashMap$LinkedHashIterator hasNext |
Mykyta Karpin | 568e7fb | 2018-01-18 14:38:28 +0200 | [diff] [blame] | 59 | - method java.util.List add int java.lang.Object |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 60 | - method java.util.List subList int int |
Richard Felkl | 7dd1e58 | 2018-04-13 10:52:56 +0200 | [diff] [blame] | 61 | - method java.util.Map containsValue java.lang.Object |
| 62 | - method java.util.Map get java.lang.Object |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 63 | - method java.util.Map remove java.lang.Object |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 64 | - method java.util.Map size |
Jiri Broulik | 154afc7 | 2018-02-06 09:55:01 +0100 | [diff] [blame] | 65 | - method java.util.Map isEmpty |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 66 | - method java.util.regex.MatchResult group int |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 67 | - method java.util.regex.MatchResult groupCount |
| 68 | - method java.util.regex.Matcher find |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 69 | - method java.util.regex.Matcher matches |
| 70 | - method java.util.regex.Pattern matcher java.lang.CharSequence |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 71 | - method java.util.stream.Stream collect java.util.stream.Collector |
Jiri Broulik | f960696 | 2017-08-04 13:01:23 +0200 | [diff] [blame] | 72 | - method java.util.Calendar add int int |
| 73 | - method java.util.Calendar getTime |
| 74 | - method java.util.Date before java.util.Date |
Mykyta Karpin | 7d69092 | 2018-04-27 10:35:42 +0300 | [diff] [blame] | 75 | - method java.text.DateFormat parse java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 76 | - method jenkins.model.Jenkins getItemByFullName java.lang.String |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 77 | - method jenkins.model.Jenkins getPluginManager |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 78 | - method org.jenkinsci.plugins.workflow.job.WorkflowRun doStop |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 79 | - method org.jenkinsci.plugins.workflow.job.WorkflowRun finish hudson.model.Result java.lang.Throwable |
Filip Pytloun | 673e946 | 2017-07-18 14:47:51 +0200 | [diff] [blame] | 80 | - method org.jenkinsci.plugins.workflow.support.actions.EnvironmentAction getEnvironment |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 81 | - method org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper build |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 82 | - new groovy.json.JsonBuilder |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 83 | - new groovy.json.JsonBuilder java.lang.Object |
| 84 | - new groovy.json.JsonSlurperClassic |
Mykyta Karpin | 762529f | 2017-08-11 12:12:55 +0300 | [diff] [blame] | 85 | - new groovy.util.XmlParser |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 86 | - new java.io.File java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 87 | - new java.io.IOException java.lang.String |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 88 | - new java.io.OutputStreamWriter java.io.OutputStream |
| 89 | - new java.lang.Exception java.lang.String |
| 90 | - new java.lang.InterruptedException |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 91 | - new java.lang.RuntimeException java.lang.String |
Filip Pytloun | 673e946 | 2017-07-18 14:47:51 +0200 | [diff] [blame] | 92 | - new java.lang.StringBuilder |
| 93 | - new java.lang.StringBuilder int |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 94 | - new java.net.URI java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 95 | - new java.util.ArrayList |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 96 | - new java.util.Date |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 97 | - new java.util.HashMap |
Mykyta Karpin | 7d69092 | 2018-04-27 10:35:42 +0300 | [diff] [blame] | 98 | - new java.text.SimpleDateFormat java.lang.String java.util.Locale |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 99 | - staticField groovy.io.FileType FILES |
| 100 | - staticMethod com.cloudbees.plugins.credentials.CredentialsProvider lookupCredentials java.lang.Class hudson.model.ItemGroup |
Jakub Pavlik | ef17f3d | 2017-08-11 14:39:34 +0200 | [diff] [blame] | 101 | - staticMethod java.lang.Double parseDouble java.lang.String |
Filip Pytloun | 673e946 | 2017-07-18 14:47:51 +0200 | [diff] [blame] | 102 | - staticMethod java.lang.Integer valueOf int |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 103 | - staticMethod java.lang.Integer valueOf java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 104 | - staticMethod java.lang.Math min int int |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 105 | - staticMethod java.lang.String format java.lang.String java.lang.Object[] |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 106 | - staticMethod java.lang.String valueOf int |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 107 | - staticMethod java.lang.System exit int |
| 108 | - staticMethod java.lang.System getProperty java.lang.String |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 109 | - staticMethod java.lang.System getenv java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 110 | - staticMethod java.util.regex.Pattern compile java.lang.String |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 111 | - staticMethod java.util.regex.Pattern quote java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 112 | - staticMethod java.util.stream.Collectors joining java.lang.CharSequence |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 113 | - staticMethod jenkins.model.Jenkins getInstance |
Vasyl Saienko | 7e74e51 | 2017-10-26 13:47:39 +0300 | [diff] [blame] | 114 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods asBoolean java.util.regex.Matcher |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 115 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods collect java.util.Map groovy.lang.Closure |
| 116 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods eachFile java.io.File groovy.io.FileType groovy.lang.Closure |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 117 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods find java.util.Collection groovy.lang.Closure |
| 118 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods findAll java.util.List groovy.lang.Closure |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 119 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods get java.util.Map java.lang.Object java.lang.Object |
| 120 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.Iterable int |
| 121 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.String int |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 122 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.util.List groovy.lang.Range |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 123 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getBytes java.io.File |
| 124 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getText java.io.InputStream |
| 125 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods hasProperty java.lang.Object java.lang.String |
| 126 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods iterator java.lang.Object |
| 127 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods iterator java.lang.Object[] |
Filip Pytloun | 673e946 | 2017-07-18 14:47:51 +0200 | [diff] [blame] | 128 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods leftShift java.lang.StringBuffer java.lang.Object |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 129 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.util.List java.lang.Iterable |
| 130 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.util.List java.lang.Object |
| 131 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.util.List java.util.Collection |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 132 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods println java.lang.Object java.lang.Object |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 133 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods putAt java.lang.Object java.lang.String java.lang.Object |
Filip Pytloun | 673e946 | 2017-07-18 14:47:51 +0200 | [diff] [blame] | 134 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods sort java.util.Collection |
| 135 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods split java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 136 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods takeRight java.util.List int |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 137 | - staticMethod org.codehaus.groovy.runtime.EncodingGroovyMethods encodeBase64 byte[] |
| 138 | - staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter bitwiseNegate java.lang.Object |
Jakub Josef | 5314fb6 | 2017-07-20 18:31:21 +0200 | [diff] [blame] | 139 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toBoolean java.lang.Boolean |
Jakub Josef | 30e82c3 | 2017-07-25 17:03:46 +0200 | [diff] [blame] | 140 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.Object java.lang.String |
Kirill Mashchenko | 7d31e99 | 2017-11-17 14:18:06 +0300 | [diff] [blame] | 141 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods multiply java.lang.String java.lang.Number |
Mykyta Karpin | 0a17807 | 2017-12-08 17:40:16 +0200 | [diff] [blame] | 142 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods minus java.lang.String java.lang.Object |
Jakub Josef | 30e82c3 | 2017-07-25 17:03:46 +0200 | [diff] [blame] | 143 | - method java.io.File listFiles |
| 144 | - method java.lang.String concat java.lang.String |
Jakub Josef | ab6b626 | 2017-08-16 13:55:55 +0200 | [diff] [blame] | 145 | - method org.jenkinsci.plugins.workflow.steps.FlowInterruptedException getCauses |
Jakub Josef | 606c2e8 | 2017-08-18 14:24:13 +0200 | [diff] [blame] | 146 | - method org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper getRawBuild |
| 147 | - method hudson.model.Actionable getAction java.lang.Class |
Jakub Josef | 80f5812 | 2017-09-04 18:20:01 +0200 | [diff] [blame] | 148 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toSorted java.lang.Iterable |
Jakub Josef | 857b616 | 2017-09-27 18:11:04 +0200 | [diff] [blame] | 149 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods intersect java.util.List java.lang.Iterable |
Jakub Josef | aedd6c6 | 2018-01-23 15:46:14 +0100 | [diff] [blame] | 150 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods reverse java.util.List |
Jiri Broulik | 9a23682 | 2018-01-31 16:22:17 +0100 | [diff] [blame] | 151 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.util.Collection java.lang.String |
Jiri Broulik | b601ef8 | 2018-04-06 13:49:54 +0200 | [diff] [blame] | 152 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods init java.util.List |
Vasyl Saienko | 182ba63 | 2018-04-20 13:48:44 +0300 | [diff] [blame] | 153 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods asBoolean java.lang.CharSequence |
Richard Felkl | fc07dd3 | 2018-06-13 11:46:44 +0200 | [diff] [blame] | 154 | - staticMethod hudson.model.Hudson getInstance |
| 155 | - method hudson.model.Job getProperty java.lang.Class |
| 156 | - method hudson.model.ParametersDefinitionProperty getParameterDefinitions |
| 157 | - method hudson.model.ParameterDefinition getName |
Richard Felkl | c939336 | 2018-06-27 12:17:18 +0200 | [diff] [blame^] | 158 | - method hudson.model.StringParameterDefinition getDefaultValue |