Open messelmanibrahim opened 4 years ago
Hello,
If we have a Job inside a folder, EncodingUtils.encode(jobName) will transform backslash "/" character into "%2F" and thus job will not be found.
public void disableJob(String jobName, boolean crumbFlag) throws IOException { client.post("/job/" + EncodingUtils.encode(jobName) + "/disable", crumbFlag); }
Hello,
If we have a Job inside a folder, EncodingUtils.encode(jobName) will transform backslash "/" character into "%2F" and thus job will not be found.
public void disableJob(String jobName, boolean crumbFlag) throws IOException { client.post("/job/" + EncodingUtils.encode(jobName) + "/disable", crumbFlag); }