Open kumarshorav11 opened 5 years ago
With the same user name and password, I am able to get all available jobs in jenkins.
JenkinsServer jServer = new JenkinsServer(new URI(JENKINS_URL), JENKINS_USER_NAME,JENKINS_PASSWORD);
Map<String, Job> jobs = jServer.getJobs();
/*
* jobs.forEach((k, v) -> { System.out.println("Key : " + k.toString() +
* "-----------Value ->" + v.getFullName()); });
*/
JobWithDetails job = jobs.get(JENKINS_JOB_NAME).details();
job.getBuilds().forEach(b->System.out.println("Build Details : "+b.getNumber()));
Hey , I am getting this issue using 0.3.8 version of this maven dependency. I am able to get the all job from jenkins server and also job details. However, when I am trying to create a new job by using
and then
I am getting below error