How to filter deployments view based on inputs provided in pipeline execution

image

How to filter deployments view based on inputs provided in pipeline execution.

  1. Is it possible to filter pipelines in the deployments view based on the inputs received?

  2. I would like to be able to view or filter pipeline executions by inputs.

Usecase :

I currently have many pipelines that use inputs to vary the pipeline execution (rather than have many pipelines with hardcoded inputs).  However, it is challenging to find executions that go by a particular input.  For instance, if I have an input like ProjectName, and there are 1500 variations of that input (1500 ProjectName values), it is currently impossible to find the pipeline execution for a specific value of ProjectName.
Is there a better way to create/organize pipelines so that I can find the executions for a specific input value?  I would prefer not to create 1500 pipelines just to be able to search and find executions for specific input values.

As part of this article, we will answer how to achieve this usecase.

Currently, we do not provide native support to query for unknown fields. However, If you can add the tags to the pipeline, it can be achieved. like tag could be <+project.name> and we support query by tags.

  1. You can add used expressions in your pipeline in pipeline tags.
  1. Then you can filter or search in the deployment dashboard based on the input you have provided to see the execution which ran with only that execution.
  • Let’s provide a input to test2 variable as 321 and execute a pipeline:

  • Now, let’s go to the project dashboard, and in the search bar, let’s search with the input value provided 321. We will see the execution which was run with this input:

So this is how you can filter deployments view based on inputs provided in pipeline execution.

2 Likes