jenkinsci / jenkinsci/script-security-plugin

[JENKINS-62513] Script not yet approved issue for seed job

Open
#853 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

Issue with the first run of script created by seed job: 

org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedUsageException: script not yet approved for use

 

Hashs of seed job are programatically allowed. 

Groovy sandbox disabled.

useScriptSecurity=false

 

Once newly created job updated ( e.g. blank space in the pipeline or whatever) no additional approves needed and everything works as expected. 

 

Thank you,

Vadym

 

---
Originally reported by vadymt1, imported from: Script not yet approved issue for seed job


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

Raw content of original issue

Issue with the first run of script created by seed job: 

org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedUsageException: script not yet approved for use

 

Hashs of seed job are programatically allowed. 

Groovy sandbox disabled.

useScriptSecurity=false

 

Once newly created job updated ( e.g. blank space in the pipeline or whatever) no additional approves needed and everything works as expected. 

 

Thank you,

Vadym

 

environment

```
Jenkins 2.170

Script Security 1.70

Job DSL 1.72
```

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.