<p dir="ltr">Turns out setting sandbox to true got me past this which I had not used before with this plugin.</p>
<div class="gmail_quote">On Jul 8, 2016 11:47 PM, "Brian Stinson" <<a href="mailto:brian@bstinson.com">brian@bstinson.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Jul 08 21:32, Eric D Helms wrote:<br>
> Howdy,<br>
><br>
> I am attempting to use the Workflow/Pipeline plugin to define a job using<br>
> JJB with a groovy script given that is what the plugin requires. However,<br>
> when I do, I run into this error:<br>
><br>
> org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedUsageException:<br>
> script not yet approved for use<br>
><br>
><br>
><br>
> Is this a Jenkins administrator configuration that needs changing? Do I<br>
> need to open an official bug to get this addressed?<br>
><br>
> Thanks,<br>
> Eric<br>
><br>
> --<br>
> Eric D. Helms<br>
> Red Hat Engineering<br>
> Ph.D. Student - North Carolina State University<br>
<br>
> _______________________________________________<br>
> Ci-users mailing list<br>
> <a href="mailto:Ci-users@centos.org">Ci-users@centos.org</a><br>
> <a href="https://lists.centos.org/mailman/listinfo/ci-users" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/ci-users</a><br>
<br>
Is that JJB template available somewhere? I saw one script-approval<br>
request come through, but not sure it was yours.<br>
<br>
Cheers!<br>
<br>
--<br>
Brian Stinson<br>
CentOS CI Infrastructure Team<br>
</blockquote></div>