diff --git a/test-result-summary-client/src/Build/Summary/ResultSummary.jsx b/test-result-summary-client/src/Build/Summary/ResultSummary.jsx index 70ebb182..f54c2c17 100644 --- a/test-result-summary-client/src/Build/Summary/ResultSummary.jsx +++ b/test-result-summary-client/src/Build/Summary/ResultSummary.jsx @@ -80,7 +80,7 @@ export default function ResultSummary() { buildsRes, ]); const parentBuildInfo = buildInfo[0] || {}; - let childBuildsResult = 'UNSTABLE'; + let childBuildsResult = 'UNDEFINED'; let javaVersion = null; const buildMap = {}; let jdkVersionOpts = []; diff --git a/test-result-summary-client/src/utils/Utils.js b/test-result-summary-client/src/utils/Utils.js index 23149d15..b677fe67 100644 --- a/test-result-summary-client/src/utils/Utils.js +++ b/test-result-summary-client/src/utils/Utils.js @@ -22,10 +22,12 @@ export const getInfoFromBuildName = (buildName) => { export const setBuildsStatus = (build, currStatus) => { const buildResultPriority = { - ABORT: 3, - FAILIURE: 2, - UNSTABLE: 1, - SUCCESS: 0, + PROGRESSING: 5, + ABORTED: 4, + FAILURE: 3, + UNSTABLE: 2, + SUCCESS: 1, + UNDEFINED: 0, }; if (build.status != 'Done' || currStatus === 'PROGRESSING') {