Hello,
I am creating my pipelines asociating Jenkins with a in house bitbucket
using bitbucket webhook and bitbucket pipeline plugin type.
The problem is that When my Jenkins file is executed it is sandboxed
so I. not able to do many things.
For example I'm trying to load a json file which is in the repository
in order make actions in the pipeline based on the info in the file.
and I'm getting this error:
trace General[org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist.rejectNew(StaticWhitelist.java:184)
For this instruction:
File f = new File("python");
So my question is:
is there a way I can setup that project to run without sandbox restriction?
if the only option is white listing every "special class" how do I do that
since for this one is not going into the pending aproval sections.
I would like to be able to define privileges for this kind of project but not givin full access to any project only to those under my control sindeI'm the Jenkins admin.
Thanks.