CommandLineBuildServiceFactory run multiple commands

in my plugin, I need to run several commands (or actually one commands several times with different parameters)

I wanted to use CommandLineBuildServiceFactory, but there it seems I can only run one command. Or can it be somehow configured to run more commands?

If the answer is no, I can develop my own solution, but there I don't know how to redirect the output of the external process to my build output.
I am starting the external process like this: ProcessBuilder processBuilder = new ProcessBuilder(...).start()

What needs to be done to redirect the output of  the process to build output?


Please sign in to leave a comment.