Hello,
We have just upgrade our jenkins server from a former version (I do not have the former plugin version neither the jenkins version) and we noticed that the build status date are not displayed anymore : they are sticked to 1970 and with no description and display name sticked to the #num.
I give a look to the build.xml files, there I can find the date and the description, so it is not that the data are gone, but somehow it is not loaded anymore.
I could only recover the date and description if I removed manually the ‘buildSummary’ entry in the build.xml (of course only for one build…).
Do you know if there is an easy process to over come or patch the files ? Or if the only solution is to write some scripts and run on all the build.xml of the instance to remove the xml node ‘buildSummary’ from ‘ru.yandex.qatools.allure.jenkins.AllureReportBuildAction’?
Example of build.xml:
<?xml version='1.1' encoding='UTF-8'?>
<build>
<actions>
<hudson.model.CauseAction>
<causeBag class="linked-hash-map">
<entry>
<hudson.model.Cause_-UserIdCause>
<userId>mollfl01</userId>
</hudson.model.Cause_-UserIdCause>
<int>1</int>
</entry>
</causeBag>
</hudson.model.CauseAction>
<hudson.plugins.git.util.BuildData plugin="git@4.10.2">
<buildsByBranchName>
<entry>
REMOVED
</entry>
</buildsByBranchName>
<lastBuild reference="../buildsByBranchName/entry/hudson.plugins.git.util.Build"/>
<remoteUrls>
<string>REMOVED URL</string>
</remoteUrls>
</hudson.plugins.git.util.BuildData>
<hudson.scm.SCMRevisionState_-None/>
<ru.yandex.qatools.allure.jenkins.AllureReportBuildAction plugin="allure-jenkins-plugin@2.29.0">
<run class="build" reference="../../.."/>
<buildSummary>
<referent class="ru.yandex.qatools.allure.jenkins.utils.BuildSummary">
<statistics>
REMOVED
</statistics>
</referent>
<queue class="java.lang.ref.ReferenceQueue$Null">
<lock/>
<queueLength>0</queueLength>
</queue>
</buildSummary>
<reportPath>allure-report</reportPath>
</ru.yandex.qatools.allure.jenkins.AllureReportBuildAction>
<htmlpublisher.HtmlPublisherTarget_-HTMLPublishedForProjectMarkerAction plugin="htmlpublisher@1.25">
<actualHtmlPublisherTarget>
<reportName>HTML Report</reportName>
<reportDir>test/reports/</reportDir>
<reportFiles>test.html</reportFiles>
<alwaysLinkToLastBuild>false</alwaysLinkToLastBuild>
<reportTitles></reportTitles>
<keepAll>false</keepAll>
<allowMissing>false</allowMissing>
<includes>**/*</includes>
<escapeUnderscores>true</escapeUnderscores>
</actualHtmlPublisherTarget>
</htmlpublisher.HtmlPublisherTarget_-HTMLPublishedForProjectMarkerAction>
</actions>
<queueId>41816</queueId>
<timestamp>1716555800678</timestamp>
<startTime>1716555800681</startTime>
<result>FAILURE</result>
<description>BLABLA</description>
<duration>662904</duration>
<charset>windows-1252</charset>
<keepLog>false</keepLog>
<builtOn>S4J1N5T2</builtOn>
<workspace>REMOVED </workspace>
<hudsonVersion>2.332.3</hudsonVersion>
<scm class="hudson.plugins.git.GitChangeLogParser" plugin="git@4.10.2">
<authorOrCommitter>false</authorOrCommitter>
<showEntireCommitSummaryInChanges>true</showEntireCommitSummaryInChanges>
</scm>
<culprits class="java.util.Collections$UnmodifiableSet">
<c class="sorted-set"/>
</culprits>
If I removed all the buildSummary statement,
<buildSummary>
<referent class="ru.yandex.qatools.allure.jenkins.utils.BuildSummary">
<statistics>
REMOVED
</statistics>
</referent>
<queue class="java.lang.ref.ReferenceQueue$Null">
<lock/>
<queueLength>0</queueLength>
</queue>
</buildSummary>
then the date is displayed properly.
regards,
Jenkins setup:
Jenkins: 2.479.1
OS: Linux - 3.10.0-1160.66.1.el7.x86_64
Java: 17.0.3 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
---
ace-editor:1.1
allure-jenkins-plugin:2.32.0
ant:511.v0a_a_1a_334f41b_
antisamy-markup-formatter:162.v0e6ec0fcfcf6
apache-httpcomponents-client-4-api:4.5.14-208.v438351942757
apache-httpcomponents-client-5-api:5.4-124.v31e2987e48f4
asm-api:9.7.1-97.v4cc844130d97
atlassian-bitbucket-server-integration:4.1.1
authentication-tokens:1.119.v50285141b_7e1
authorize-project:1.8.1
backup:1.6.1
bitbucket:254.v9d8ec33a_7a_42
bootstrap4-api:4.6.0-6
bootstrap5-api:5.3.3-1
bouncycastle-api:2.30.1.78.1-248.ve27176eb_46cb_
branch-api:2.1200.v4b_a_3da_2eb_db_4
build-monitor-plugin:1.14-947.vfec2cf655fe2
build-timeout:1.33
caffeine-api:3.1.8-133.v17b_1ff2e0599
checks-api:2.2.1
cloudbees-bitbucket-branch-source:914.vc8c12e22f10e
cloudbees-folder:6.959.v4ed5cc9e2dd4
command-launcher:116.vd85919c54a_d6
commons-lang3-api:3.17.0-84.vb_b_938040b_078
commons-text-api:1.12.0-129.v99a_50df237f7
copyartifact:757.v05365583a_455
credentials:1389.vd7a_b_f5fa_50a_2
credentials-binding:687.v619cb_15e923f
data-tables-api:2.1.8-1
disk-usage:1.3
display-url-api:2.209.v582ed814ff2f
durable-task:577.v2a_8a_4b_7c0247
echarts-api:5.5.1-4
eddsa-api:0.3.0-4.v84c6f0f4969e
email-ext:1855.vd9e491cb_de1e
external-monitor-job:215.v2e88e894db_f8
font-awesome-api:6.6.0-2
git:5.6.0
git-client:6.1.0
git-server:126.v0d945d8d2b_39
github:1.40.0
github-api:1.321-478.vc9ce627ce001
github-branch-source:1807.v50351eb_7dd13
gradle:2.13.1
gson-api:2.11.0-85.v1f4e87273c33
handlebars:3.0.8
handy-uri-templates-2-api:2.1.8-30.v7e777411b_148
htmlpublisher:1.37
instance-identity:201.vd2a_b_5a_468a_a_6
ionicons-api:74.v93d5eb_813d5f
jackson2-api:2.17.0-379.v02de8ec9f64c
jakarta-activation-api:2.1.3-1
jakarta-mail-api:2.1.3-1
javadoc:280.v050b_5c849f69
javax-activation-api:1.2.0-7
javax-mail-api:1.6.2-10
jaxb:2.3.9-1
jdk-tool:80.v8a_dee33ed6f0
jjwt-api:0.11.5-112.ve82dfb_224b_a_d
joda-time-api:2.13.0-93.v9934da_29b_a_e9
jquery3-api:3.7.1-2
jsch:0.2.16-86.v42e010d9484b_
json-api:20240303-101.v7a_8666713110
json-path-api:2.9.0-118.v7f23ed82a_8b_8
junit:1309.v0078b_fecd6ed
ldap:770.vb_455e934581a_
lockable-resources:1327.ved786b_a_197e0
mailer:489.vd4b_25144138f
matrix-auth:3.2.3
matrix-project:840.v812f627cb_578
mercurial:1260.vdfb_723cdcc81
mina-sshd-api-common:2.14.0-133.vcc091215a_358
mina-sshd-api-core:2.14.0-133.vcc091215a_358
momentjs:1.1.1
monitor-pro:1.0.9
oic-auth:4.421.v5422614eb_e0a_
okhttp-api:4.11.0-181.v1de5b_83857df
pam-auth:1.11
pipeline-build-step:540.vb_e8849e1a_b_d8
pipeline-github-lib:61.v629f2cc41d83
pipeline-graph-analysis:216.vfd8b_ece330ca_
pipeline-groovy-lib:744.v5b_556ee7c253
pipeline-input-step:495.ve9c153f6067b_
pipeline-milestone-step:119.vdfdc43fc3b_9a_
pipeline-model-api:2.2218.v56d0cda_37c72
pipeline-model-definition:2.2218.v56d0cda_37c72
pipeline-model-extensions:2.2218.v56d0cda_37c72
pipeline-rest-api:2.34
pipeline-stage-step:312.v8cd10304c27a_
pipeline-stage-tags-metadata:2.2218.v56d0cda_37c72
pipeline-stage-view:2.34
plain-credentials:183.va_de8f1dd5a_2b_
plugin-util-api:5.1.0
popper-api:1.16.1-3
popper2-api:2.11.6-5
resource-disposer:0.25
role-strategy:743.v142ea_b_d5f1d3
saferestart:0.7
saml:4.501.v4313a_01e3a_18
scm-api:698.v8e3b_c788f0a_6
script-security:1369.v9b_98a_4e95b_2d
snakeyaml-api:2.3-123.v13484c65210a_
sonar:2.17.3
ssh-credentials:343.v884f71d78167
ssh-slaves:2.973.v0fa_8c0dea_f9f
sshd:3.330.vc866a_8389b_58
structs:338.v848422169819
summary_report:1.15
timestamper:1.28
token-macro:400.v35420b_922dcb_
trilead-api:2.147.vb_73cc728a_32e
variant:60.v7290fc0eb_b_cd
windows-slaves:1.8
workflow-aggregator:600.vb_57cdd26fdd7
workflow-api:1336.vee415d95c521
workflow-basic-steps:1058.vcb_fc1e3a_21a_9
workflow-cps:3996.va_f5c1799f978
workflow-cps-global-lib:612.v55f2f80781ef
workflow-durable-task-step:1378.v6a_3e903058a_3
workflow-job:1468.vcf4f5ee92395
workflow-multibranch:795.ve0cb_1f45ca_9a_
workflow-scm-step:427.v4ca_6512e7df1
workflow-step-api:678.v3ee58b_469476
workflow-support:936.v9fa_77211ca_e1
ws-cleanup:0.48