Input-result mapping between tasks

When you connect one node to another if the first node has results and the second node has some params that need to be given then it will ask you to map the params from the previous node to the current node

Let's take the example of building an image and test pipeline. In this, the first node builds the image and the image is passed through params to the second node through parameter mapping. In the below example the first node which is docker build it is building the image and the image is given to the second node ozone trivy image scan to scan the image through parameter mapping.

Advantages: You don't have to manually give params instead it will directly take from upstream and maps.

Last updated