Upgrade Jenkins to version 1.565.3 (#496)

@andreeamatei, can you please have a look at this PR? It's simple and touches only 3 files. I did a bit of testing and checked sending emails, manually triggering jobs, rebuilds, and triggering jobs via the Jenkins API. All is working fine for me. I think we should get this on staging for testing.