How to hook up Jenkins to Endevor?
Apart from your "this", there is also Compuware Source Code Download for Endevor, PDS, and ISPW Plugin. Some details about it (from the linked page):


  ... allows Jenkins users to download Endevor, PDS, or ISPW members from the mainframe to the PC. Source can then be accessed on the PC, for example, for SonarQube analysis and reporting.


So you may want to give "that" a try ...

PS: I'm assuming your question is about Endevor SCM, and not Endevor DB (that a completely different story, and a challenging one ...).