# Monitor your Pipeline for Build Modifications

## Monitor your Pipeline for Build Modifications

The next step is to configure the agent to monitor your Pipeline for Build Modifications. The agent creates Build Modifications from changes you make by importing transports into the Pipeline’s QAS system. To see how to the agent to monitor your Pipeline for Build Modifications run the following from your PowerShell window:

{% code title="Command" overflow="wrap" %}

```powershell
.\slabapcli.exe buildmods help
```

{% endcode %}

{% code title="Expected output" overflow="wrap" lineNumbers="true" %}

```powershell
PS C:\apps\SLABAPAgent\bin> .\slabapcli.exe buildmods help
[2025-06-18 09:05:39.325+01:00] [info] Current ANSI Code Page: 65001 (UTF-8) (65001)
[2025-06-18 09:05:39.326+01:00] [info] Config pathname: ../config/config.toml
buildmods <command> --pipeline <pipeline>
commands:
  help : buildmods command help
  run : configure collection of build mods
  stop: stop collection of buildmods
```

{% endcode %}

To monitor your Pipeline’s QAS system for Build Modifications, run the following from your PowerShell window:

{% code title="Command" overflow="wrap" %}

```powershell
.\slabapcli.exe buildmods run --pipeline HH_SLABAPCLI_170625
```

{% endcode %}

{% code title="Expected output" overflow="wrap" lineNumbers="true" %}

```powershell
PS C:\apps\SLABAPAgent\bin> .\slabapcli.exe buildmods run --pipeline HH_SLABAPCLI_170625
[2025-06-18 09:24:49.485+01:00] [info] Current ANSI Code Page: 65001 (UTF-8) (65001)
[2025-06-18 09:24:49.486+01:00] [info] Config pathname: ../config/config.toml
[2025-06-18 09:24:49.516+01:00] [info] Total time: 00:00:00.031
```

{% endcode %}

This command creates a BUILD\_MODS scheduled task that runs every five minutes to create Build Modifications from transports imported into the Pipeline’s QAS system.

To display the Build Modifications in SeaLights, go to the Coverage Dashboard and open the **Build history** window for your app.

<figure><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2FmpAGYQ8dYta5cSnmnMdE%2Fimage.png?alt=media&#x26;token=8039ccd9-4605-43a6-9400-f9e3a893e150" alt=""><figcaption></figcaption></figure>

In the Build column:

* The Initial Build Map name has the format Initial `<QAS system>|<QAS hostname>|<Creation datetime>`
* Build Modifications have the format `<Transport name>|<Import datetime>`

The Coverage Report’s **Overall Coverage** tab lists all the objects in your SeaLights app.

<figure><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2FkWeGx3ig0KitrkWzuQgI%2Fimage.png?alt=media&#x26;token=65e59170-6415-4da7-a900-14748fa7edd1" alt=""><figcaption></figcaption></figure>

The Coverage Report hierarchy has the following structure:

```
App
	<Development Class/Package>
		<Object Type>
			<Object Name>
				{} <Component Type> <Component Name>
				…
			…
		…
	…
```

The **Code Changes** tab lists all the code changes introduced by Build Modifications.

<figure><img src="https://4057366433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAjqTCMRYvHhDgsdPLUnc%2Fuploads%2FFPCG3bEziHJHDGGjtSkI%2Fimage.png?alt=media&#x26;token=2a563536-5e2e-4eca-b0bf-542b55dad76e" alt=""><figcaption></figcaption></figure>

## Stop monitoring a Pipeline for Build Modifications <a href="#toc201668102" id="toc201668102"></a>

To stop monitoring a Pipeline for Build Modifications, run the following from your PowerShell window:

{% code title="Command" overflow="wrap" %}

```powershell
.\slabapcli.exe buildmods stop --pipeline HH_SLABAPCLI_170625
```

{% endcode %}

{% code title="Expected output" overflow="wrap" lineNumbers="true" %}

```powershell
PS C:\apps\SLABAPAgent\bin> .\slabapcli.exe buildmods stop --pipeline HH_SLABAPCLI_170625
[2025-06-18 14:45:19.637+01:00] [info] Current ANSI Code Page: 65001 (UTF-8) (65001)
[2025-06-18 14:45:19.638+01:00] [info] Config pathname: ../config/config.toml
[2025-06-18 14:45:19.652+01:00] [info] Stopped buildmods run
[2025-06-18 14:45:19.652+01:00] [info] Total time: 00:00:00.015
```

{% endcode %}
