Skip to content
Commit c99fedec authored by Stephen Connolly's avatar Stephen Connolly
Browse files

Jenkins.getInstance() is safe to assume non-null

- Only ever called after extensions are on the classpath and before termination
- If it were somehow or other called after `Jenkins.theInstance == null` then at that point the queue has already been persisted so the trigger could have no effect anyway... much better to surface in the shutdown logs about the missed trigger than either return false or incorrectly report the job as triggered
parent b0e79d96
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment