-
Type:
Improvement
-
Resolution: Incomplete
-
Priority:
Major
-
Component/s: parameterized-trigger-plugin, script-security-plugin
If you trigger another job with the parameterized trigger plugin and the script for the other job is not approved yet, it will hang forever.Â
Steps to reproduce:
- Create a job (Job A) with a script not yet approved.
- Create another job (Job B) with a parameterized trigger which calls the previous job (Make sure to check the option to block when building).
- Trigger the parameterized job (Job B)
Taking a thread dump it will show that Job B is blocked until Job A is built, and since Job A requires approval it will never complete. It would be nice if the job failed with a message about the script needing to be approved.
- links to