# ctest integration with CI/CD

**URL:** https://discourse.cmake.org/t/ctest-integration-with-ci-cd/9352
**Category:** Usage
**Tags:** tool:ctest
**Created:** [November 3, 2023, 1:12pm UTC](https://discourse.cmake.org/t/ctest-integration-with-ci-cd/9352 "2023-11-03T13:12:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pkiran](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/p/dc4da7/32.png) [@pkiran](https://discourse.cmake.org/u/pkiran)
#### Post date: [November 3, 2023, 1:12pm UTC](https://discourse.cmake.org/t/ctest-integration-with-ci-cd/9352/1 "2023-11-03T13:12:49Z")

</div>

Hi all,

Would like to get your view on recommended integrations with Ctest for test dashboards, apart from CDash. We have Jenkins CI/CD, any recommendations for jenkins would be welcome, to visualize test results and measurements. Any other suggestions/ideas are also welcome.

Thanks.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [November 3, 2023, 3:38pm UTC](https://discourse.cmake.org/t/ctest-integration-with-ci-cd/9352/2 "2023-11-03T15:38:11Z")

</div>

@jcfr Do you have Jenkins/CTest experience?

I know CTest can generate JUnit output for test runs; I believe Jenkins has support for that at least.

---

<div class="post-metadata">

### Author: ![pkiran](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/p/dc4da7/32.png) [@pkiran](https://discourse.cmake.org/u/pkiran)
#### Post date: [December 15, 2023, 8:44am UTC](https://discourse.cmake.org/t/ctest-integration-with-ci-cd/9352/3 "2023-12-15T08:44:19Z")

</div>

Update: SO I was able to use the junit xml report on jenkins, with the junit plugin of jenkins. Works without any issues 🙂

Would like to know if we can somehow add “Measurements” to the junit xml report as well.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [December 15, 2023, 8:44pm UTC](https://discourse.cmake.org/t/ctest-integration-with-ci-cd/9352/4 "2023-12-15T20:44:37Z")

</div>

> [@pkiran](#):
>
> Would like to know if we can somehow add “Measurements” to the junit xml report as well.

Sounds like a good feature request to [create](https://gitlab.kitware.com/cmake/cmake/-/issues).
