templates.plugins.hudson.action.buildList.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
## 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.
#if ($results.hasBuilds())
#foreach ($build in $results.builds)
#if ($buildUtils.isSuccessfulBuild($build))
#set($buildStyle = "successfulBuild")
#elseif ($buildUtils.isFailedBuild($build))
#set($buildStyle = "failedBuild")
#elseif ($buildUtils.isUnstableBuild($build))
#set($buildStyle = "unstableBuild")
#else
#set($buildStyle = "abortedOrNotBuild")
#end
#if ($velocityCount > 1)
#else
#end
${build.jobName} » ${i18n.getText("hudson.panel.build.number", ${build.number})}
${dateTimeUtils.getPastTimeString(${build.timestamp})}
${i18n.getText("hudson.panel.build.duration")}: ${dateTimeUtils.getTimeSpanString(${build.duration})}
${i18n.getText("hudson.panel.related.issues")}: #if ($build.relatedIssueKeys.isEmpty()) ${i18n.getText("hudson.panel.no.related.issues")} #end
#foreach ($issueKey in $build.relatedIssueKeys) #if ($velocityCount > 1) | #end ${issueKey}#end
${i18n.getText("hudson.panel.build.tests")}:
#if (${build.testResult})
${i18n.getText("hudson.panel.build.tests.total")}: ${build.testResult.total},
${i18n.getText("hudson.panel.build.tests.passed")}: ${build.testResult.passed},
${i18n.getText("hudson.panel.build.tests.failed")}: ${build.testResult.failed},
${i18n.getText("hudson.panel.build.tests.skipped")}: ${build.testResult.skipped}
#else
${i18n.getText("hudson.panel.build.no.test.results")}
#end
${i18n.getText("hudson.panel.build.artifacts")}: #if ($build.artifacts.isEmpty()) ${i18n.getText("hudson.panel.no.build.artifacts")} #end
#foreach ($artifact in $build.artifacts)
- $artifact.name
#end
${i18n.getText("hudson.panel.build.triggers")}:
#foreach ($trigger in $build.triggers)
- ${buildTriggerParser.parse(${trigger})}
#end
${i18n.getText("hudson.panel.build.log.console")} |
${i18n.getText("hudson.panel.build.log.changes")}
#end
#else
- ${i18n.getText("hudson.panel.no.builds.found")}
#end