Use bucket to check staging test instead of builder name (#88908)
This commit is contained in:
@@ -353,14 +353,14 @@ void main() {
|
||||
const String updateTaskJson = '{'
|
||||
'"CommitBranch":"master",'
|
||||
'"CommitSha":"$commitSha",'
|
||||
'"BuilderName":"Linux_staging_test",'
|
||||
'"BuilderName":"builderAbc",'
|
||||
'"NewStatus":"Succeeded",'
|
||||
'"ResultData":{"i":0.0,"j":0.0,"not_a_metric":"something"},'
|
||||
'"BenchmarkScoreKeys":["i","j"]}';
|
||||
fs.file(resultsPath).writeAsStringSync(updateTaskJson);
|
||||
|
||||
// This will fail if it decided to upload results
|
||||
await cocoon.sendTaskStatus(resultsPath: resultsPath);
|
||||
await cocoon.sendTaskStatus(resultsPath: resultsPath, builderBucket: 'staging');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user