Skip to content

Commit

Permalink
chore(kayenta): add config id and execution to outputs (#3227)
Browse files Browse the repository at this point in the history
  • Loading branch information
emjburns committed Oct 14, 2019
1 parent 1b12c69 commit 1728606
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ class RunKayentaCanaryTask(
CanaryExecutionRequest(context.scopes, context.scoreThresholds, context.siteLocal)
)["canaryExecutionId"] as String

return TaskResult.builder(SUCCEEDED).context("canaryPipelineExecutionId", canaryPipelineExecutionId).build()
val outputs = mapOf(
"canaryPipelineExecutionId" to canaryPipelineExecutionId,
"canaryConfigId" to context.canaryConfigId
)

return TaskResult.builder(SUCCEEDED).context("canaryPipelineExecutionId", canaryPipelineExecutionId).outputs(outputs).build()
}
}

0 comments on commit 1728606

Please sign in to comment.