> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/harness-platform/use-harness-platform/pipelines/executions-and-logs/view-and-compare-pipeline-executions.md).

# View and compare pipeline executions

You can view the compiled Harness pipeline YAML used for your pipeline execution. You can also compare two executions. Comparing pipeline YAML helps you understand the changes that occurred between executions, which can help with troubleshooting.

This topic assumes you're familiar with the [CD key concepts](/continuous-delivery/new-to-continuous-delivery/overview.md#key-concepts) or [CI key concepts](/continuous-integration/new-to-harness-ci/key-concepts.md).

### View executions <a href="#view-executions" id="view-executions"></a>

You can view execution history and logs from the Executions or Builds page. For example:

* [View CI builds](/continuous-integration/use-harness-ci/use-harness-ci/viewing-builds.md)
* [View test results in CI](/continuous-integration/use-harness-ci/use-harness-ci/run-tests/viewing-tests.md)

### View compiled YAML <a href="#view-compiled-yaml" id="view-compiled-yaml"></a>

A pipeline's compiled execution YAML is the YAML used in for execution, including all resolved [runtime inputs, expressions](/harness-platform/use-harness-platform/variables-and-expressions/runtime-inputs.md), and [variables](/harness-platform/use-harness-platform/variables-and-expressions/harness-variables.md).

To view compiled YAML:

1. Go to your pipeline and select **Execution History**.

   ![](/files/IhVyNDOTZUWuATWx37EH)
2. Locate the execution that you want to inspect, select **More Options** (⋮), and then select **View Compiled YAML**.

   ![](/files/SPXbvtjzabsHTKCBSZyj)

Harness shows the compiled pipeline YAML for that execution.

![](/files/bke9HUCCI4qzMu24CvkD)

### Compare executions <a href="#compare-executions" id="compare-executions"></a>

You can compare the compiled execution YAML for two executions. This comparison can help you see what changed between executions.

1. Go to your pipeline, select **Execution History**, select **More Options** (⋮), and then select **Compare YAML** or **Compare Pipeline Executions**.
2. The execution where you selected **More Options** is automatically selected. If you don't want to compare this execution, deselect it and select a different execution.
3. Select another execution that you want to compare.
4. Select **Compare**.

![](/files/rDqCw2RojhNXK7rfpRzb)

Harness produces a diff of the pipeline YAML for the two executions. This diff helps you identify the changes between executions, and it can help with troubleshooting.

![](/files/PftbYv1M2Hfo6fIusG2q)
