blob: 80cfd95be424d9148dc05b80440ead58eaad6c64 [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
Filip Pytloun3a2dd742017-03-23 16:36:18 +010018 - method hudson.PluginManager getPlugins
19 - method hudson.PluginWrapper getShortName
Alexander Evseev8f186b92017-11-28 17:20:20 +010020 - method hudson.model.Hudson getSlaves
Filip Pytloun3a2dd742017-03-23 16:36:18 +010021 - method hudson.model.Item getName
22 - method hudson.model.ItemGroup getItem java.lang.String
23 - method hudson.model.ItemGroup getItems
Filip Pytlounb047a2f2017-07-14 14:50:58 +020024 - method hudson.model.Job getBuildByNumber int
Filip Pytloun3a2dd742017-03-23 16:36:18 +010025 - method hudson.model.Job getBuilds
26 - method hudson.model.Job getLastBuild
Alexander Evseev538ee702017-11-28 17:36:35 +010027 - method hudson.model.Node getLabelString
28 - method hudson.model.Node getNodeName
Filip Pytloun6d420e62017-03-23 16:35:19 +010029 - method hudson.model.Run getEnvironment
Filip Pytlounb047a2f2017-07-14 14:50:58 +020030 - method hudson.model.Run getId
31 - method hudson.model.Run getNumber
Filip Pytloun3a2dd742017-03-23 16:36:18 +010032 - method hudson.model.Run getResult
33 - method hudson.model.Run getTimeInMillis
34 - method hudson.model.Run isBuilding
Filip Pytloun6d420e62017-03-23 16:35:19 +010035 - method java.io.File getAbsolutePath
36 - method java.io.File getName
37 - method java.io.File getParent
38 - method java.io.Writer write java.lang.String
39 - method java.lang.AutoCloseable close
40 - method java.lang.Class isInstance java.lang.Object
41 - method java.lang.Iterable iterator
Filip Pytlounb047a2f2017-07-14 14:50:58 +020042 - method java.lang.Throwable printStackTrace
Filip Pytloun6d420e62017-03-23 16:35:19 +010043 - method java.net.HttpURLConnection getResponseCode
44 - method java.net.HttpURLConnection setRequestMethod java.lang.String
45 - method java.net.URI getHost
46 - method java.net.URI getPort
47 - method java.net.URL openConnection
48 - method java.net.URLConnection getHeaderField java.lang.String
49 - method java.net.URLConnection getInputStream
50 - method java.net.URLConnection getOutputStream
51 - method java.net.URLConnection setDoOutput boolean
52 - method java.net.URLConnection setRequestProperty java.lang.String java.lang.String
Filip Pytloun3a2dd742017-03-23 16:36:18 +010053 - method java.util.Collection remove java.lang.Object
Filip Pytlounb047a2f2017-07-14 14:50:58 +020054 - method java.util.Collection stream
Oleg Grigorovf7b14da2017-10-25 19:08:18 +030055 - method java.util.Date getTime
Filip Pytloun6d420e62017-03-23 16:35:19 +010056 - method java.util.LinkedHashMap$LinkedHashIterator hasNext
Mykyta Karpin568e7fb2018-01-18 14:38:28 +020057 - method java.util.List add int java.lang.Object
Filip Pytloun3a2dd742017-03-23 16:36:18 +010058 - method java.util.List subList int int
59 - method java.util.Map remove java.lang.Object
Filip Pytloun6d420e62017-03-23 16:35:19 +010060 - method java.util.Map size
Jiri Broulik154afc72018-02-06 09:55:01 +010061 - method java.util.Map isEmpty
Filip Pytloun6d420e62017-03-23 16:35:19 +010062 - method java.util.regex.MatchResult group int
Filip Pytlounb047a2f2017-07-14 14:50:58 +020063 - method java.util.regex.MatchResult groupCount
64 - method java.util.regex.Matcher find
Filip Pytloun6d420e62017-03-23 16:35:19 +010065 - method java.util.regex.Matcher matches
66 - method java.util.regex.Pattern matcher java.lang.CharSequence
Filip Pytlounb047a2f2017-07-14 14:50:58 +020067 - method java.util.stream.Stream collect java.util.stream.Collector
Jiri Broulikf9606962017-08-04 13:01:23 +020068 - method java.util.Calendar add int int
69 - method java.util.Calendar getTime
70 - method java.util.Date before java.util.Date
Filip Pytlounb047a2f2017-07-14 14:50:58 +020071 - method jenkins.model.Jenkins getItemByFullName java.lang.String
Filip Pytloun3a2dd742017-03-23 16:36:18 +010072 - method jenkins.model.Jenkins getPluginManager
Filip Pytloun6d420e62017-03-23 16:35:19 +010073 - method org.jenkinsci.plugins.workflow.job.WorkflowRun doStop
Filip Pytlounb047a2f2017-07-14 14:50:58 +020074 - method org.jenkinsci.plugins.workflow.job.WorkflowRun finish hudson.model.Result java.lang.Throwable
Filip Pytloun673e9462017-07-18 14:47:51 +020075 - method org.jenkinsci.plugins.workflow.support.actions.EnvironmentAction getEnvironment
Filip Pytloun6d420e62017-03-23 16:35:19 +010076 - method org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper build
Filip Pytlounb047a2f2017-07-14 14:50:58 +020077 - new groovy.json.JsonBuilder
Filip Pytloun6d420e62017-03-23 16:35:19 +010078 - new groovy.json.JsonBuilder java.lang.Object
79 - new groovy.json.JsonSlurperClassic
Mykyta Karpin762529f2017-08-11 12:12:55 +030080 - new groovy.util.XmlParser
Filip Pytloun6d420e62017-03-23 16:35:19 +010081 - new java.io.File java.lang.String
Filip Pytlounb047a2f2017-07-14 14:50:58 +020082 - new java.io.IOException java.lang.String
Filip Pytloun6d420e62017-03-23 16:35:19 +010083 - new java.io.OutputStreamWriter java.io.OutputStream
84 - new java.lang.Exception java.lang.String
85 - new java.lang.InterruptedException
Filip Pytlounb047a2f2017-07-14 14:50:58 +020086 - new java.lang.RuntimeException java.lang.String
Filip Pytloun673e9462017-07-18 14:47:51 +020087 - new java.lang.StringBuilder
88 - new java.lang.StringBuilder int
Filip Pytloun6d420e62017-03-23 16:35:19 +010089 - new java.net.URI java.lang.String
Filip Pytlounb047a2f2017-07-14 14:50:58 +020090 - new java.util.ArrayList
Filip Pytloun6d420e62017-03-23 16:35:19 +010091 - new java.util.Date
Filip Pytlounb047a2f2017-07-14 14:50:58 +020092 - new java.util.HashMap
Filip Pytloun6d420e62017-03-23 16:35:19 +010093 - staticField groovy.io.FileType FILES
94 - staticMethod com.cloudbees.plugins.credentials.CredentialsProvider lookupCredentials java.lang.Class hudson.model.ItemGroup
Jakub Pavlikef17f3d2017-08-11 14:39:34 +020095 - staticMethod java.lang.Double parseDouble java.lang.String
Filip Pytloun673e9462017-07-18 14:47:51 +020096 - staticMethod java.lang.Integer valueOf int
Filip Pytloun3a2dd742017-03-23 16:36:18 +010097 - staticMethod java.lang.Integer valueOf java.lang.String
Filip Pytlounb047a2f2017-07-14 14:50:58 +020098 - staticMethod java.lang.Math min int int
Filip Pytloun3a2dd742017-03-23 16:36:18 +010099 - staticMethod java.lang.String format java.lang.String java.lang.Object[]
Filip Pytlounb047a2f2017-07-14 14:50:58 +0200100 - staticMethod java.lang.String valueOf int
Filip Pytloun3a2dd742017-03-23 16:36:18 +0100101 - staticMethod java.lang.System exit int
102 - staticMethod java.lang.System getProperty java.lang.String
Filip Pytloun6d420e62017-03-23 16:35:19 +0100103 - staticMethod java.lang.System getenv java.lang.String
Filip Pytlounb047a2f2017-07-14 14:50:58 +0200104 - staticMethod java.util.regex.Pattern compile java.lang.String
Filip Pytloun3a2dd742017-03-23 16:36:18 +0100105 - staticMethod java.util.regex.Pattern quote java.lang.String
Filip Pytlounb047a2f2017-07-14 14:50:58 +0200106 - staticMethod java.util.stream.Collectors joining java.lang.CharSequence
Filip Pytloun6d420e62017-03-23 16:35:19 +0100107 - staticMethod jenkins.model.Jenkins getInstance
Vasyl Saienko7e74e512017-10-26 13:47:39 +0300108 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods asBoolean java.util.regex.Matcher
Filip Pytloun6d420e62017-03-23 16:35:19 +0100109 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods collect java.util.Map groovy.lang.Closure
110 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods eachFile java.io.File groovy.io.FileType groovy.lang.Closure
Filip Pytloun3a2dd742017-03-23 16:36:18 +0100111 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods find java.util.Collection groovy.lang.Closure
112 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods findAll java.util.List groovy.lang.Closure
Filip Pytloun6d420e62017-03-23 16:35:19 +0100113 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods get java.util.Map java.lang.Object java.lang.Object
114 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.Iterable int
115 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.String int
Filip Pytlounb047a2f2017-07-14 14:50:58 +0200116 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.util.List groovy.lang.Range
Filip Pytloun6d420e62017-03-23 16:35:19 +0100117 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getBytes java.io.File
118 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getText java.io.InputStream
119 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods hasProperty java.lang.Object java.lang.String
120 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods iterator java.lang.Object
121 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods iterator java.lang.Object[]
Filip Pytloun673e9462017-07-18 14:47:51 +0200122 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods leftShift java.lang.StringBuffer java.lang.Object
Filip Pytloun6d420e62017-03-23 16:35:19 +0100123 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.util.List java.lang.Iterable
124 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.util.List java.lang.Object
125 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods plus java.util.List java.util.Collection
Filip Pytloun3a2dd742017-03-23 16:36:18 +0100126 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods println java.lang.Object java.lang.Object
Filip Pytloun6d420e62017-03-23 16:35:19 +0100127 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods putAt java.lang.Object java.lang.String java.lang.Object
Filip Pytloun673e9462017-07-18 14:47:51 +0200128 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods sort java.util.Collection
129 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods split java.lang.String
Filip Pytlounb047a2f2017-07-14 14:50:58 +0200130 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods takeRight java.util.List int
Filip Pytloun6d420e62017-03-23 16:35:19 +0100131 - staticMethod org.codehaus.groovy.runtime.EncodingGroovyMethods encodeBase64 byte[]
132 - staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter bitwiseNegate java.lang.Object
Jakub Josef5314fb62017-07-20 18:31:21 +0200133 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toBoolean java.lang.Boolean
Jakub Josef30e82c32017-07-25 17:03:46 +0200134 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.Object java.lang.String
Kirill Mashchenko7d31e992017-11-17 14:18:06 +0300135 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods multiply java.lang.String java.lang.Number
Mykyta Karpin0a178072017-12-08 17:40:16 +0200136 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods minus java.lang.String java.lang.Object
Jakub Josef30e82c32017-07-25 17:03:46 +0200137 - method java.io.File listFiles
138 - method java.lang.String concat java.lang.String
Jakub Josefab6b6262017-08-16 13:55:55 +0200139 - method org.jenkinsci.plugins.workflow.steps.FlowInterruptedException getCauses
Jakub Josef606c2e82017-08-18 14:24:13 +0200140 - method org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper getRawBuild
141 - method hudson.model.Actionable getAction java.lang.Class
Jakub Josef80f58122017-09-04 18:20:01 +0200142 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toSorted java.lang.Iterable
Jakub Josef857b6162017-09-27 18:11:04 +0200143 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods intersect java.util.List java.lang.Iterable
Jakub Josefaedd6c62018-01-23 15:46:14 +0100144 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods reverse java.util.List
Jiri Broulik9a236822018-01-31 16:22:17 +0100145 - staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.util.Collection java.lang.String