Skip to content

Commit

Permalink
feat: add previousCiBuildId to run creation
Browse files Browse the repository at this point in the history
  • Loading branch information
vCaisim committed Oct 11, 2024
1 parent 1cf1178 commit dfbb32e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cmd/src/api/create-run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export type CI = {

export type CreateRunParams = {
ciBuildId?: string;
previousCiBuildId?: string;
group: string;
projectId: string;
platform: Platform;
Expand Down
1 change: 1 addition & 0 deletions packages/cmd/src/services/upload/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ async function createRun({
machineId: currents.machineId ?? machineId,
framework,
instances,
previousCiBuildId: process.env.CURRENTS_PREVIOUS_CI_BUILD_ID,
};

debug(
Expand Down
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"CURRENTS_API_URL",
"CURRENTS_REST_API_URL",
"CURRENTS_REMOTE_LOGGING",
"CURRENTS_PREVIOUS_CI_BUILD_ID",
"TF_BUILD",
"TF_BUILD_BUILDNUMBER",
"AZURE_HTTP_USER_AGENT",
Expand Down

0 comments on commit dfbb32e

Please sign in to comment.