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 |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 15 | - method hudson.PluginManager getPlugins |
| 16 | - method hudson.PluginWrapper getShortName |
| 17 | - method hudson.model.Item getName |
| 18 | - method hudson.model.ItemGroup getItem java.lang.String |
| 19 | - method hudson.model.ItemGroup getItems |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 20 | - method hudson.model.Job getBuildByNumber int |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 21 | - method hudson.model.Job getBuilds |
| 22 | - method hudson.model.Job getLastBuild |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 23 | - method hudson.model.Run getEnvironment |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 24 | - method hudson.model.Run getId |
| 25 | - method hudson.model.Run getNumber |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 26 | - method hudson.model.Run getResult |
| 27 | - method hudson.model.Run getTimeInMillis |
| 28 | - method hudson.model.Run isBuilding |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 29 | - method java.io.File getAbsolutePath |
| 30 | - method java.io.File getName |
| 31 | - method java.io.File getParent |
| 32 | - method java.io.Writer write java.lang.String |
| 33 | - method java.lang.AutoCloseable close |
| 34 | - method java.lang.Class isInstance java.lang.Object |
| 35 | - method java.lang.Iterable iterator |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 36 | - method java.lang.Throwable printStackTrace |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 37 | - method java.net.HttpURLConnection getResponseCode |
| 38 | - method java.net.HttpURLConnection setRequestMethod java.lang.String |
| 39 | - method java.net.URI getHost |
| 40 | - method java.net.URI getPort |
| 41 | - method java.net.URL openConnection |
| 42 | - method java.net.URLConnection getHeaderField java.lang.String |
| 43 | - method java.net.URLConnection getInputStream |
| 44 | - method java.net.URLConnection getOutputStream |
| 45 | - method java.net.URLConnection setDoOutput boolean |
| 46 | - method java.net.URLConnection setRequestProperty java.lang.String java.lang.String |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 47 | - method java.util.Collection remove java.lang.Object |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 48 | - method java.util.Collection stream |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 49 | - method java.util.LinkedHashMap$LinkedHashIterator hasNext |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 50 | - method java.util.List subList int int |
| 51 | - method java.util.Map remove java.lang.Object |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 52 | - method java.util.Map size |
| 53 | - method java.util.regex.MatchResult group int |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 54 | - method java.util.regex.MatchResult groupCount |
| 55 | - method java.util.regex.Matcher find |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 56 | - method java.util.regex.Matcher matches |
| 57 | - method java.util.regex.Pattern matcher java.lang.CharSequence |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 58 | - method java.util.stream.Stream collect java.util.stream.Collector |
| 59 | - method jenkins.model.Jenkins getItemByFullName java.lang.String |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 60 | - method jenkins.model.Jenkins getPluginManager |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 61 | - method org.jenkinsci.plugins.workflow.job.WorkflowRun doStop |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 62 | - 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] | 63 | - method org.jenkinsci.plugins.workflow.support.actions.EnvironmentAction getEnvironment |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 64 | - method org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper build |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 65 | - new groovy.json.JsonBuilder |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 66 | - new groovy.json.JsonBuilder java.lang.Object |
| 67 | - new groovy.json.JsonSlurperClassic |
| 68 | - new java.io.File java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 69 | - new java.io.IOException java.lang.String |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 70 | - new java.io.OutputStreamWriter java.io.OutputStream |
| 71 | - new java.lang.Exception java.lang.String |
| 72 | - new java.lang.InterruptedException |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 73 | - new java.lang.RuntimeException java.lang.String |
Filip Pytloun | 673e946 | 2017-07-18 14:47:51 +0200 | [diff] [blame] | 74 | - new java.lang.StringBuilder |
| 75 | - new java.lang.StringBuilder int |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 76 | - new java.net.URI java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 77 | - new java.util.ArrayList |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 78 | - new java.util.Date |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 79 | - new java.util.HashMap |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 80 | - staticField groovy.io.FileType FILES |
| 81 | - staticMethod com.cloudbees.plugins.credentials.CredentialsProvider lookupCredentials java.lang.Class hudson.model.ItemGroup |
Filip Pytloun | 673e946 | 2017-07-18 14:47:51 +0200 | [diff] [blame] | 82 | - staticMethod java.lang.Integer valueOf int |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 83 | - staticMethod java.lang.Integer valueOf java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 84 | - staticMethod java.lang.Math min int int |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 85 | - staticMethod java.lang.String format java.lang.String java.lang.Object[] |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 86 | - staticMethod java.lang.String valueOf int |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 87 | - staticMethod java.lang.System exit int |
| 88 | - staticMethod java.lang.System getProperty java.lang.String |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 89 | - staticMethod java.lang.System getenv java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 90 | - staticMethod java.util.regex.Pattern compile java.lang.String |
Filip Pytloun | 3a2dd74 | 2017-03-23 16:36:18 +0100 | [diff] [blame] | 91 | - staticMethod java.util.regex.Pattern quote java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 92 | - staticMethod java.util.stream.Collectors joining java.lang.CharSequence |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 93 | - staticMethod jenkins.model.Jenkins getInstance |
| 94 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods collect java.util.Map groovy.lang.Closure |
| 95 | - 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] | 96 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods find java.util.Collection groovy.lang.Closure |
| 97 | - 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] | 98 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods get java.util.Map java.lang.Object java.lang.Object |
| 99 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.Iterable int |
| 100 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.String int |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 101 | - 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] | 102 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getBytes java.io.File |
| 103 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getText java.io.InputStream |
| 104 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods hasProperty java.lang.Object java.lang.String |
| 105 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods iterator java.lang.Object |
| 106 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods iterator java.lang.Object[] |
Filip Pytloun | 673e946 | 2017-07-18 14:47:51 +0200 | [diff] [blame] | 107 | - 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] | 108 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.util.List java.lang.Iterable |
| 109 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.util.List java.lang.Object |
| 110 | - 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] | 111 | - 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] | 112 | - 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] | 113 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods sort java.util.Collection |
| 114 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods split java.lang.String |
Filip Pytloun | b047a2f | 2017-07-14 14:50:58 +0200 | [diff] [blame] | 115 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods takeRight java.util.List int |
Filip Pytloun | 6d420e6 | 2017-03-23 16:35:19 +0100 | [diff] [blame] | 116 | - staticMethod org.codehaus.groovy.runtime.EncodingGroovyMethods encodeBase64 byte[] |
| 117 | - staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter bitwiseNegate java.lang.Object |
Jakub Josef | 5314fb6 | 2017-07-20 18:31:21 +0200 | [diff] [blame] | 118 | - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toBoolean java.lang.Boolean |