Skip to content

Commit 349425d

Browse files
committed
🟨
1 parent 5b7798d commit 349425d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎app/components/JenkinsJobs.tsx‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,23 @@ import { useEffect, useState } from "react";
44
import { IfcWallDisplayJob, IfcWallDisplayResponse } from "@/app/types";
55

66
const successColour = "[#90EE90]";
7+
const unstableColour = "[#FFFF00]";
78
const failureColour = "[#F08080]";
89
const abortedColour = "gray-400";
910

1011
const jenkinsColourToWebDashColour = new Map<string, string>([
1112
["red", `bg-${failureColour}`], // build broken
13+
["yellow", `bg-${unstableColour}`], // build unstable
1214
["blue", `bg-${successColour}`], // build success
1315
["aborted", `bg-${abortedColour}`], // build aborted
1416
[
1517
"red_anime",
1618
`bg-[repeating-linear-gradient(45deg,#F08080_0px,#F08080_20px,#99a1af_20px,#99a1af_40px)]`,
1719
], // build running but was broken
20+
[
21+
"yellow_anime",
22+
"bg-[repeating-linear-gradient(45deg,#ffff00_0px,#ffff00_20px,#99a1af_20px,#99a1af_40px)]",
23+
], // build running but was unstable
1824
[
1925
"blue_anime",
2026
"bg-[repeating-linear-gradient(45deg,#90EE90_0px,#90EE90_20px,#99a1af_20px,#99a1af_40px)]",

0 commit comments

Comments
 (0)