We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19c1818 commit 5c2727bCopy full SHA for 5c2727b
app/components/JenkinsJobs.tsx
@@ -41,6 +41,7 @@ export default function JenkinsJobs() {
41
const jobs: Array<IfcWallDisplayJob> = resData["jobs"].filter(
42
(job) => job["color"] != "disabled",
43
);
44
+ console.log(jobs);
45
setData(jobs);
46
}
47
fetchPosts();
@@ -71,7 +72,7 @@ export default function JenkinsJobs() {
71
72
{data.map((job) => (
73
<a
74
key={job["name"]}
- href={job["url"] + "lastBuild"} // link to text fragment for "builds"
75
+ href={job["url"] + "lastCompletedBuild"} // link to text fragment for "builds"
76
className={
77
"text-black h-10 font-bold text-xl capitalize rounded-lg text-center border-2 border-black hover:border-white " +
78
jenkinsColourToWebDashColour.get(job["color"]) +
0 commit comments