Skip to content

Commit

Permalink
Add support for FIPS140_2 and FIPS_3_YYYYMMDD
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Xia <[email protected]>
  • Loading branch information
llxia committed Sep 6, 2023
1 parent 3ee15b0 commit 899f63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-result-summary-client/src/utils/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const order = (a, b) => {
};
export const getInfoFromBuildName = (buildName) => {
const regex =
/^Test_openjdk(\w+)_(\w+)_(\w+).(.+?)_(.+?_.+?(_xl|_fips|_criu)?)(_.+)?$/i;
/^Test_openjdk(\w+)_(\w+)_(\w+).(.+?)_(.+?_.+?(_xl|_fips|_fips140_2|_fips140_3_\d*|_criu)?)(_.+)?$/i;
const tokens = buildName.match(regex);
if (Array.isArray(tokens) && tokens.length > 5) {
const [_, jdkVersion, jdkImpl, level, group, platform] = tokens;
Expand Down

0 comments on commit 899f63d

Please sign in to comment.