Skip to content

Commit

Permalink
Change how we are populating product name for HCE results
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-html-css-js authored and jtaleric committed Dec 8, 2023
1 parent 6fdbedd commit 1fdce8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/app/api/v1/endpoints/cpt/maps/hce.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ async def hceMapper(start_datetime: date, end_datetime: date):
df = await getData(start_datetime, end_datetime)
df["releaseStream"] = "Nightly"
df["ciSystem"] = "Jenkins"
df["testName"] = df["test"]
df["testName"] = df["product"] + ":" + df["test"]
df["product"] = df["group"]
df["jobStatus"] = df['result'].apply(lambda x: "SUCCESS" if x == 'PASS' else "FAILURE")
df["version"] = df['version'].apply(lambda x: x if len(x.split(":")) == 1 else x.split(":")[1][:7])
df["uuid"] = df["result_id"]
Expand Down

0 comments on commit 1fdce8c

Please sign in to comment.