Build server prototype (integration with GitHub / NuGet / etc)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
micro-build-server/BuildServer/views/status-image.jade

8 lines
370 B

doctype xml
-var fills = {Error: "red", Warn: "yellow", OK: "green" }
-var colors = {Error: "white", Warn: "black", OK: "black" }
svg(xmlns="http://www.w3.org/2000/svg", version="1.1", width="800px", height="100px")
rect(width="100%", height="100%", fill=fills[status])
text(x=20, y=50, font-size=36, font-weight="bold", fill=colors[status]) Build status: #{status}