Open srinarayanant opened 5 years ago
JobWithDetails jJob = jenkins.getJob(name); //crumb support QueueReference q = jJob.build(true);
=== the above API works fine when Jenkins URL is set to say http://10.158.13.X:8080/ but gives Crumb error when is set to http://localhost:8080/
org.apache.http.client.HttpResponseException: No valid crumb was included in the request at com.offbytwo.jenkins.client.validator.HttpResponseValidator.validateResponse(HttpResponseValidator.java:11) ~[jenkins-client-0.3.8.jar:0.3.8]
=== the above API works fine when Jenkins URL is set to say http://10.158.13.X:8080/ but gives Crumb error when is set to http://localhost:8080/
org.apache.http.client.HttpResponseException: No valid crumb was included in the request at com.offbytwo.jenkins.client.validator.HttpResponseValidator.validateResponse(HttpResponseValidator.java:11) ~[jenkins-client-0.3.8.jar:0.3.8]