Hi, In my Java program I am using cli.execute to start a job in Jenkins but I have to wait for the job to complete.
Is there a way to start a job asynchronously and in another part of my code (e.g. a different thread) wait for the reply and capture the output. Does anyone have any example code for this ? Many thanks.
