fix method and schema handling for japi and jenkins-job-trigger

The api of different jenkins versions differ and the configuration
of our external and internal jenkin instance differ.