All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hudson.model.View.cc.xml.jelly Maven / Gradle / Ivy

The newest version!
<!-- **************************************************************************
#
# Copyright  (c) 2004-2009 Oracle Corporation.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors: 
#
#    Kohsuke Kawaguchi
#        
#
#************************************************************************** --> 


<!--
  Generate status XML compatible with CruiseControl.
  See http://confluence.public.thoughtworks.org/display/CI/Multiple+Project+Summary+Reporting+Standard
-->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
  <st:contentType value="text/xml;charset=UTF-8" />
  <j:new var="h" className="hudson.Functions" />

  <Projects>
    <j:forEach var="p" items="${it.items}">
      <j:set var="lb" value="${p.lastCompletedBuild}"/>
      <j:if test="${lb!=null}">
        <Project  name="${p.displayName}"
                  activity="${p.isBuilding() ? 'Building' : 'Sleeping'}"
                  lastBuildStatus="${h.toCCStatus(p)}"
                  lastBuildLabel="${lb.number}"
                  lastBuildTime="${lb.timestampString2}"
                  webUrl="${app.rootUrl}${p.url}"
          />
      </j:if>
    </j:forEach>
  </Projects>
</j:jelly>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy