Re: Load Script Approval from another Jenkins instance

2016-08-10 Thread Sverre Moe
It looks like it worked. I copied the scriptApproval.xml over to the production Jenkins and I found the approved methods listed there. Will know for sure if it works when I start my first production build. I just added a few lines of new code and tried it out on my test Jenkins. I had to execute

Re: Load Script Approval from another Jenkins instance

2016-08-09 Thread 'Björn Pedersen' via Jenkins Users
Hi, the approvals are stored in scriptApprovals.xml as hashes. I am not sure if this file is transferrable, but from looking at the code (https://github.com/jenkinsci/script-security-plugin/blob/master/src/main/java/org/jenkinsci/plugins/scriptsecurity/scripts/ScriptApproval.java) it seems s

Load Script Approval from another Jenkins instance

2016-08-08 Thread Sverre Moe
I have had a test instance of Jenkins running while programming my workflow scripts. In this process I have had to go into In-process Script Approval time and time again to add method calls to the approved list. Now I have the need to load these into Jenkins production instance and I cannot run