Hello everyone,
I am using the
onOffline callback method from the
ComputerListener class to receive information about the existing jobs in my Jenkins instance. The problem i face is that on my personal installation (installed on my pc, not the plugin dev suite) of Jenkins, the Jenkins.get().getAllItems(Job.class) aswell as
Jenkins.get().getAllItems() would have the size 0 (so they are empty).
On the other hand when i was testing the plugin on my plugin-dev suite (the jenkins instance you would start in the project with mvn hpi:run) it was working...
Is this a bug? Or am i missing something?
Or was this mentioned anywhere before?
The Jenkins-version of the plugin-dev suite: 2.277.1
Jenkins version on my pc: 2.303.1
Thanks for any advice in advance!
Regards