blob: 8122e8c35b35286294c800b3c133d1791de37c45 [file] [log] [blame]
Filip Pytloun6d420e62017-03-23 16:35:19 +01001parameters:
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 Karpin762529f2017-08-11 12:12:55 +030015 - method groovy.util.Node attributes
16 - method groovy.util.XmlParser parse java.io.File
Mykyta Karpin7bd9a7b2017-10-19 17:46:07 +030017 - method groovy.util.XmlParser parseText java.lang.String
Alexander Evseev66f830d2018-03-30 17:43:30 +020018 - method hudson.EnvVars get java.lang.String java.lang.String
Filip Pytloun3a2dd742017-03-23 16:36:18 +010019 - method hudson.PluginManager getPlugins
20 - method hudson.PluginWrapper getShortName
Alexander Evseev8f186b92017-11-28 17:20:20 +010021 - method hudson.model.Hudson getSlaves
Filip Pytloun3a2dd742017-03-23 16:36:18 +010022 - method hudson.model.Item getName
23 - method hudson.model.ItemGroup getItem java.lang.String
24 - method hudson.model.ItemGroup getItems
Filip Pytlounb047a2f2017-07-14 14:50:58 +020025 - method hudson.model.Job getBuildByNumber int
Filip Pytloun3a2dd742017-03-23 16:36:18 +010026 - method hudson.model.Job getBuilds
27 - method hudson.model.Job getLastBuild
Alexander Evseev538ee702017-11-28 17:36:35 +010028 - method hudson.model.Node getLabelString
29 - method hudson.model.Node getNodeName
Filip Pytloun6d420e62017-03-23 16:35:19 +010030 - method hudson.model.Run getEnvironment
Filip Pytlounb047a2f2017-07-14 14:50:58 +020031 - method hudson.model.Run getId
32 - method hudson.model.Run getNumber
Filip Pytloun3a2dd742017-03-23 16:36:18 +010033 - method hudson.model.Run getResult
34 - method hudson.model.Run getTimeInMillis
35 - method hudson.model.Run isBuilding
Filip Pytloun6d420e62017-03-23 16:35:19 +010036 - method java.io.File getAbsolutePath
37 - method java.io.File getName
38 - method java.io.File getParent
39 - method java.io.Writer write java.lang.String
40 - method java.lang.AutoCloseable close
41 - method java.lang.Class isInstance java.lang.Object
42 - method java.lang.Iterable iterator
Filip Pytlounb047a2f2017-07-14 14:50:58 +020043 - method java.lang.Throwable printStackTrace
Filip Pytloun6d420e62017-03-23 16:35:19 +010044 - method java.net.HttpURLConnection getResponseCode
45 - method java.net.HttpURLConnection setRequestMethod java.lang.String
46 - method java.net.URI getHost
47 - method java.net.URI getPort
48 - method java.net.URL openConnection
49 - method java.net.URLConnection getHeaderField java.lang.String
50 - method java.net.URLConnection getInputStream
51 - method java.net.URLConnection getOutputStream
52 - method java.net.URLConnection setDoOutput boolean
53 - method java.net.URLConnection setRequestProperty java.lang.String java.lang.String
Filip Pytloun3a2dd742017-03-23 16:36:18 +010054 - method java.util.Collection remove java.lang.Object
Filip Pytlounb047a2f2017-07-14 14:50:58 +020055 - method java.util.Collection stream
Oleg Grigorovf7b14da2017-10-25 19:08:18 +030056 - method java.util.Date getTime
Filip Pytloun6d420e62017-03-23 16:35:19 +010057 - method java.util.LinkedHashMap$LinkedHashIterator hasNext
Mykyta Karpin568e7fb2018-01-18 14:38:28 +020058 - method java.util.List add int java.lang.Object
Filip Pytloun3a2dd742017-03-23 16:36:18 +010059 - method java.util.List subList int int
60 - method java.util.Map remove java.lang.Object
Filip Pytloun6d420e62017-03-23 16:35:19 +010061 - method java.util.Map size
Jiri Broulik154afc72018-02-06 09:55:01 +010062 - method java.util.Map isEmpty
Filip Pytloun6d420e62017-03-23 16:35:19 +010063 - method java.util.regex.MatchResult group int
Filip Pytlounb047a2f2017-07-14 14:50:58 +020064 - method java.util.regex.MatchResult groupCount
65 - method java.util.regex.Matcher find
Filip Pytloun6d420e62017-03-23 16:35:19 +010066 - method java.util.regex.Matcher matches
67 - method java.util.regex.Pattern matcher java.lang.CharSequence
Filip Pytlounb047a2f2017-07-14 14:50:58 +020068 - method java.util.stream.Stream collect java.util.stream.Collector
Jiri Broulikf9606962017-08-04 13:01:23 +020069 - method java.util.Calendar add int int
70 - method java.util.Calendar getTime
71 - method java.util.Date before java.util.Date
Filip Pytlounb047a2f2017-07-14 14:50:58 +020072 - method jenkins.model.Jenkins getItemByFullName java.lang.String
Filip Pytloun3a2dd742017-03-23 16:36:18 +010073 - method jenkins.model.Jenkins getPluginManager
Filip Pytloun6d420e62017-03-23 16:35:19 +010074 - method org.jenkinsci.plugins.workflow.job.WorkflowRun doStop
Filip Pytlounb047a2f2017-07-14 14:50:58 +020075 - method org.jenkinsci.plugins.workflow.job.WorkflowRun finish hudson.model.Result java.lang.Throwable
Filip Pytloun673e9462017-07-18 14:47:51 +020076 - method org.jenkinsci.plugins.workflow.support.actions.EnvironmentAction getEnvironment
Filip Pytloun6d420e62017-03-23 16:35:19 +010077 - method org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper build
Filip Pytlounb047a2f2017-07-14 14:50:58 +020078 - new groovy.json.JsonBuilder
Filip Pytloun6d420e62017-03-23 16:35:19 +010079 - new groovy.json.JsonBuilder java.lang.Object
80 - new groovy.json.JsonSlurperClassic
Mykyta Karpin762529f2017-08-11 12:12:55 +030081 - new groovy.util.XmlParser
Filip Pytloun6d420e62017-03-23 16:35:19 +010082 - new java.io.File java.lang.String
Filip Pytlounb047a2f2017-07-14 14:50:58 +020083 - new java.io.IOException java.lang.String
Filip Pytloun6d420e62017-03-23 16:35:19 +010084 - new java.io.OutputStreamWriter java.io.OutputStream
85 - new java.lang.Exception java.lang.String
86 - new java.lang.InterruptedException
Filip Pytlounb047a2f2017-07-14 14:50:58 +020087 - new java.lang.RuntimeException java.lang.String
Filip Pytloun673e9462017-07-18 14:47:51 +020088 - new java.lang.StringBuilder
89 - new java.lang.StringBuilder int
Filip Pytloun6d420e62017-03-23 16:35:19 +010090 - new java.net.URI java.lang.String
Filip Pytlounb047a2f2017-07-14 14:50:58 +020091 - new java.util.ArrayList
Filip Pytloun6d420e62017-03-23 16:35:19 +010092 - new java.util.Date
Filip Pytlounb047a2f2017-07-14 14:50:58 +020093 - new java.util.HashMap
Filip Pytloun6d420e62017-03-23 16:35:19 +010094 - staticField groovy.io.FileType FILES
95 - staticMethod com.cloudbees.plugins.credentials.CredentialsProvider lookupCredentials java.lang.Class hudson.model.ItemGroup
Jakub Pavlikef17f3d2017-08-11 14:39:34 +020096 - staticMethod java.lang.Double parseDouble java.lang.String
Filip Pytloun673e9462017-07-18 14:47:51 +020097 - staticMethod java.lang.Integer valueOf int
Filip Pytloun3a2dd742017-03-23 16:36:18 +010098 - staticMethod java.lang.Integer valueOf java.lang.String
Filip Pytlounb047a2f2017-07-14 14:50:58 +020099 - staticMethod java.lang.Math min int int
Filip Pytloun3a2dd742017-03-23 16:36:18 +0100100 - staticMethod java.lang.String format java.lang.String java.lang.Object[]
Filip Pytlounb047a2f2017-07-14 14:50:58 +0200101 - staticMethod java.lang.String valueOf int
Filip Pytloun3a2dd742017-03-23 16:36:18 +0100102 - staticMethod java.lang.System exit int
103 - staticMethod java.lang.System getProperty java.lang.String
Filip Pytloun6d420e62017-03-23 16:35:19 +0100104 - staticMethod java.lang.System getenv java.lang.String
Filip Pytlounb047a2f2017-07-14 14:50:58 +0200105 - staticMethod java.util.regex.Pattern compile java.lang.String
Filip Pytloun3a2dd742017-03-23 16:36:18 +0100106 - staticMethod java.util.regex.Pattern quote java.lang.String
Filip Pytlounb047a2f2017-07-14 14:50:58 +0200107 - staticMethod java.util.stream.Collectors joining java.lang.CharSequence
Filip Pytloun6d420e62017-03-23 16:35:19 +0100108 - staticMethod jenkins.model.Jenkins getInstance
Vasyl Saienko7e74e512017-10-26 13:47:39 +0300109 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods asBoolean java.util.regex.Matcher
Filip Pytloun6d420e62017-03-23 16:35:19 +0100110 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods collect java.util.Map groovy.lang.Closure
111 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods eachFile java.io.File groovy.io.FileType groovy.lang.Closure
Filip Pytloun3a2dd742017-03-23 16:36:18 +0100112 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods find java.util.Collection groovy.lang.Closure
113 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods findAll java.util.List groovy.lang.Closure
Filip Pytloun6d420e62017-03-23 16:35:19 +0100114 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods get java.util.Map java.lang.Object java.lang.Object
115 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.Iterable int
116 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.String int
Filip Pytlounb047a2f2017-07-14 14:50:58 +0200117 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.util.List groovy.lang.Range
Filip Pytloun6d420e62017-03-23 16:35:19 +0100118 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getBytes java.io.File
119 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getText java.io.InputStream
120 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods hasProperty java.lang.Object java.lang.String
121 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods iterator java.lang.Object
122 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods iterator java.lang.Object[]
Filip Pytloun673e9462017-07-18 14:47:51 +0200123 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods leftShift java.lang.StringBuffer java.lang.Object
Filip Pytloun6d420e62017-03-23 16:35:19 +0100124 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.util.List java.lang.Iterable
125 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.util.List java.lang.Object
126 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.util.List java.util.Collection
Filip Pytloun3a2dd742017-03-23 16:36:18 +0100127 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods println java.lang.Object java.lang.Object
Filip Pytloun6d420e62017-03-23 16:35:19 +0100128 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods putAt java.lang.Object java.lang.String java.lang.Object
Filip Pytloun673e9462017-07-18 14:47:51 +0200129 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods sort java.util.Collection
130 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods split java.lang.String
Filip Pytlounb047a2f2017-07-14 14:50:58 +0200131 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods takeRight java.util.List int
Filip Pytloun6d420e62017-03-23 16:35:19 +0100132 - staticMethod org.codehaus.groovy.runtime.EncodingGroovyMethods encodeBase64 byte[]
133 - staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter bitwiseNegate java.lang.Object
Jakub Josef5314fb62017-07-20 18:31:21 +0200134 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toBoolean java.lang.Boolean
Jakub Josef30e82c32017-07-25 17:03:46 +0200135 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.Object java.lang.String
Kirill Mashchenko7d31e992017-11-17 14:18:06 +0300136 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods multiply java.lang.String java.lang.Number
Mykyta Karpin0a178072017-12-08 17:40:16 +0200137 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods minus java.lang.String java.lang.Object
Jakub Josef30e82c32017-07-25 17:03:46 +0200138 - method java.io.File listFiles
139 - method java.lang.String concat java.lang.String
Jakub Josefab6b6262017-08-16 13:55:55 +0200140 - method org.jenkinsci.plugins.workflow.steps.FlowInterruptedException getCauses
Jakub Josef606c2e82017-08-18 14:24:13 +0200141 - method org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper getRawBuild
142 - method hudson.model.Actionable getAction java.lang.Class
Jakub Josef80f58122017-09-04 18:20:01 +0200143 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toSorted java.lang.Iterable
Jakub Josef857b6162017-09-27 18:11:04 +0200144 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods intersect java.util.List java.lang.Iterable
Jakub Josefaedd6c62018-01-23 15:46:14 +0100145 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods reverse java.util.List
Jiri Broulik9a236822018-01-31 16:22:17 +0100146 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.util.Collection java.lang.String