Capture system output (for Jenkins)