# 'reports.html.displayName' changes for unknown reason

**URL:** https://discuss.gradle.org/t/reports-html-displayname-changes-for-unknown-reason/23270
**Category:** Help/Discuss
**Created:** [July 11, 2017, 3:19pm UTC](https://discuss.gradle.org/t/reports-html-displayname-changes-for-unknown-reason/23270 "2017-07-11T15:19:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Marcin](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/marcin/32/1870_2.png) [@Marcin](https://discuss.gradle.org/u/Marcin)
#### Post date: [July 11, 2017, 3:19pm UTC](https://discuss.gradle.org/t/reports-html-displayname-changes-for-unknown-reason/23270/1 "2017-07-11T15:19:41Z")

</div>

Building PR on a CI server I observe that `reports.html.displayName` is reported as changed (in `Appending inputPropertyHash for 'reports.html.displayName' to build cache key: ...`) in 2 subsequent Jenkins builds from different branches with a change in source code only (not in Gradle configuration). I do not set it on my own (in API documentation it is marked as [read-only](https://docs.gradle.org/4.0.1/dsl/org.gradle.api.reporting.Report.html#org.gradle.api.reporting.Report:displayName) anyway). This breaks caching as tests are executed.

Gradle 4.0.1 with Build cache enabled. The problem doesn’t occur when run locally with those branches.

What else can affect `reports.html.displayName` value?

---

<div class="post-metadata">

### Author: ![Stefan\_Wolf](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/stefan_wolf/32/5519_2.png) [@Stefan\_Wolf](https://discuss.gradle.org/u/Stefan_Wolf)
#### Post date: [July 11, 2017, 3:59pm UTC](https://discuss.gradle.org/t/reports-html-displayname-changes-for-unknown-reason/23270/2 "2017-07-11T15:59:58Z")

</div>

Hi Marcin,

could you print out the value of `reports.html.displayName` by adding

```groovy
doFirst {
    println reports.html.displayName
}

```

to the affected `Test` task? And then please report back what the difference is.

Thank you,  
Stefan

---

<div class="post-metadata">

### Author: ![Marcin](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/marcin/32/1870_2.png) [@Marcin](https://discuss.gradle.org/u/Marcin)
#### Post date: [July 13, 2017, 11:20am UTC](https://discuss.gradle.org/t/reports-html-displayname-changes-for-unknown-reason/23270/3 "2017-07-13T11:20:00Z")

</div>

I turned out that there was another similar task executed which was printed just before that task name. It’s really painful to explain some issues (for example with not cached tasks) if a build is executed in parallel on a CI machine with 32 vCPU… I reported a feature request to improve it - [https://github.com/gradle/gradle/issues/2462](https://github.com/gradle/gradle/issues/2462).
