diff --git a/src/pages/DownloadPage.tsx b/src/pages/DownloadPage.tsx
index 53a86b2d..5ff3b88c 100644
--- a/src/pages/DownloadPage.tsx
+++ b/src/pages/DownloadPage.tsx
@@ -48,7 +48,7 @@ const DownloadPage = () => {
{jobs.get(Array.from(jobs.keys()).filter(value => value.name === version)[0])?.map(value => {
return -
-
+
{value.changes?.map(value1 => {
return - [{value1.id}] {value1.comment}
diff --git a/src/util/Jenkins.ts b/src/util/Jenkins.ts
index b4eb2d49..ad3f9320 100644
--- a/src/util/Jenkins.ts
+++ b/src/util/Jenkins.ts
@@ -12,7 +12,8 @@ export type Build = {
number: number,
url: string,
changes?: BuildChange[],
- timestamp?: number
+ timestamp?: number,
+ artifact?: string
}
export type BuildChange = {
@@ -49,6 +50,13 @@ export function getBuilds(version: string): Promise {
change.id = change.id.substring(0, 7)
}
build.changes = changes
+ if (value1.data.artifacts) {
+ let artifacts: any[] = value1.data.artifacts
+ if (artifacts.length > 0) {
+ build.artifact = value1.data.artifacts[0].relativePath
+ }
+ }
+
count++;
if (count === builds.length - 1) {
resolve(builds)