I created a test pipeline to understand how the parallel feature works with Jenkins. Here you can see the code:
node (\'docker-slave\') { stage(\'Source\') {