Step 1: Open the previous freestyle job and go to configure > build steps. Then select additional steps, > then execute shell. inside the shell, add any docker command, then save and run.

Screenshot 2026-08-01 003303.png

Step 2: After a successful Test, package and Build, go to console output and view the logs.

Below are the outcome of maven test and package

Screenshot 2026-08-01 002520.png

Screenshot 2026-08-01 002717.png

Screenshot 2026-08-01 003054.png