In short, with pipeline jobs you can decouple a shell, windows batch or powershell command from the agents java process (see Pipeline: Nodes and Processes)
For the long answer I suggest you take a look at the documentation
as a starting point look here: Pipeline