One workaround would be to execute the cleartool
command in a Runtime.exec()
Java process.
See for instance this thread:
Process p = Runtime.getRuntime().exec(cmd2);
// For normal stream reading
BufferedReader br1 = new BufferedReader(
new InputStreamReader(
p.getInputStream()));
Otherwise, the latest versions of the Jenkins ClearCase plugin use cleartool
(issue JENKINS-15196), so using a CleartoolCommand
should work.
You can build any command you want, as shown in: