Add sandbox option to dsl builder
Job DSL plugin supports execution of its groovy DSL code via sandbox, but until now there was missing option to control it. Change-Id: I8dccfc608cf59ac46ded712dc937983a22b9d3b3
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<javaposse.jobdsl.plugin.ExecuteDslScripts>
|
||||
<targets>jobs/*/*/*.groovy</targets>
|
||||
<usingScriptText>false</usingScriptText>
|
||||
<sandbox>false</sandbox>
|
||||
<ignoreExisting>true</ignoreExisting>
|
||||
<removedJobAction>IGNORE</removedJobAction>
|
||||
<removedViewAction>IGNORE</removedViewAction>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<javaposse.jobdsl.plugin.ExecuteDslScripts>
|
||||
<scriptText>job { name 'dsljob' }</scriptText>
|
||||
<usingScriptText>true</usingScriptText>
|
||||
<sandbox>true</sandbox>
|
||||
<ignoreExisting>true</ignoreExisting>
|
||||
<removedJobAction>DISABLE</removedJobAction>
|
||||
<removedViewAction>DELETE</removedViewAction>
|
||||
|
||||
@@ -6,3 +6,4 @@ builders:
|
||||
removed-view-action: "DELETE"
|
||||
lookup-strategy: "SEED_JOB"
|
||||
additional-classpath: "*.jar"
|
||||
sandbox: "true"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<javaposse.jobdsl.plugin.ExecuteDslScripts>
|
||||
<targets>jobs/**/*.groovy</targets>
|
||||
<usingScriptText>false</usingScriptText>
|
||||
<sandbox>false</sandbox>
|
||||
<ignoreExisting>true</ignoreExisting>
|
||||
<removedJobAction>DISABLE</removedJobAction>
|
||||
<removedViewAction>DELETE</removedViewAction>
|
||||
|
||||
Reference in New Issue
Block a user