jenkinsci / jenkinsci/script-security-plugin

[JENKINS-47371] Reload Configuration from Disk does not work for Script Approvals XML

Open
#773 0 comments 0 reactions 0 assignees View on GitHub
component:script-security-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
76
Forks
181
Avg merge
14h 55m
Merged PRs (30d)
3

Description

Due to limitations with the Script Security Plugin such as https://issues.jenkins-ci.org/browse/JENKINS-43722 I have implemented a custom backup and restore mechanism which overwrites the scriptApprovals.xml on disk. The option "Reload Configuration from Disk" does not reload the script approvals and a full restart of Jenkins is required before the approvals lists are re-populated. This seems counter to the description of the option which states: "Discard all the loaded data in memory and reload everything from file system. Useful when you modified config files directly on disk."

---
Originally reported by boon, imported from: Reload Configuration from Disk does not work for Script Approvals XML


  • status: Open
  • priority: Major
  • component(s): script-security-plugin
  • label(s): configuration, script-security, triaged-2018-11
  • resolution: Unresolved
  • votes: 0
  • watchers: 3
  • imported: 2025-12-09

Raw content of original issue

Due to limitations with the Script Security Plugin such as https://issues.jenkins-ci.org/browse/JENKINS-43722 I have implemented a custom backup and restore mechanism which overwrites the scriptApprovals.xml on disk. The option "Reload Configuration from Disk" does not reload the script approvals and a full restart of Jenkins is required before the approvals lists are re-populated. This seems counter to the description of the option which states: "Discard all the loaded data in memory and reload everything from file system. Useful when you modified config files directly on disk."

environment

```
Jenkins 2.49

Script Security Plugin 1.33
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.