templates.actions.build.jobStatus.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jira-hudson-plugin Show documentation
Show all versions of jira-hudson-plugin Show documentation
Jira Plugin to integrate Hudson CI
The newest version!
##
## Licensed to Marvelution under one or more contributor license
## agreements. See the NOTICE file distributed with this work
## for additional information regarding copyright ownership.
## Marvelution licenses this file to you under the Apache License,
## Version 2.0 (the "License"); you may not use this file except
## in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing,
## software distributed under the License is distributed on an
## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
## KIND, either express or implied. See the License for the
## specific language governing permissions and limitations
## under the License.
##
#set ($server = $resultSet.getServer())
#set ($job = $resultSet.getResults())
#set ($build = $job.getLastBuild())
#if($build)
#set ($result = "${build.result.name().toLowerCase()}")
#else
#set ($result = "notbuild")
#end
-
#if($build)
- ${i18n.getText("hudson.panel.job.success.ratio", $jobUtils.getJobSuccessRatio($job))}
- ${i18n.getText("hudson.panel.job.header.title")} ${job.name} ${i18n.getText("hudson.panel.build.number", $build.buildNumber)} ${i18n.getText("hudson.panel.job.header.was")} ${i18n.getText("hudson.panel.job.header.$result")}
-
- ${i18n.getText("hudson.panel.build.reason")}:
#foreach ($trigger in $build.triggers)
- ${triggerFormatUtils.format($trigger)}
#end
- ${i18n.getText("hudson.panel.build.date")}:
- ${dateFormatUtils.format(${build.timestamp})}
- ${i18n.getText("hudson.panel.build.duration")}:
- ${dateFormatUtils.getTimeSpanString(${build.duration})}
#else
- ${job.name} ${i18n.getText("hudson.panel.job.not.yet.build")}
#end
-
#if ($build)
-
#set ($chart = $resultSet.getBuildResultsRatioChart())
-
${i18n.getText("hudson.panel.job.chart.build.duration")}
${chart.getImageMap()}
#set ($chart = $resultSet.getBuildTestResultsRatioChart())
-
${i18n.getText("hudson.panel.job.chart.test.results")}
${chart.getImageMap()}
-
-
#set ($testcount = 0) #if ($build.testResults) #set ($testcount = $build.testResults.failed) #end
- ${i18n.getText("common.words.latest")} ${i18n.getText("hudson.panel.build.tests.results")} (${i18n.getText("hudson.panel.build.tests.failed", $testcount)}):
#if ($build.testResults && $build.testResults.failed > 0)
#foreach ($test in $build.testResults.failedTests)
- ${test.className}.${test.testName}
#end
#else
- ${i18n.getText("hudson.panel.build.tests.no.results")}
#end
-
-
- ${i18n.getText("common.words.latest")} ${i18n.getText("hudson.panel.build.artifacts")}:
#if ($build.buildArtifacts.size() > 0)
#foreach ($artifact in $build.buildArtifacts)
- ${artifact.name}
#end
#else
- ${i18n.getText("hudson.panel.build.no.build.artifacts")}
#end
-
#end
#parse ("templates/actions/build/common.vm")
© 2015 - 2025 Weber Informatics LLC | Privacy Policy