@@ -197,7 +197,9 @@ def log_boot_logs(server, in_args):
197
197
@click .option ("--job_name" , required = True , help = "Jenkisn job name to fetch" )
198
198
@click .option ("--build_number" , required = True , help = "Build no to fetch" )
199
199
@click .option ("--board_name" , default = None , help = "Board to fetch, will select all if empty" )
200
- def create_results_gist (server , job_name , build_number , board_name ):
200
+ @click .option ("--github_gist_url" , default = None , help = "Base URL to the gist repository" )
201
+ @click .option ("--github_gist_token" , default = None , help = "Token required for gist access" )
202
+ def create_results_gist (server , job_name , build_number , board_name , github_gist_url , github_gist_token ):
201
203
tel = telemetry .searches (server = server )
202
204
boot_test = tel .boot_tests (
203
205
boot_folder_name = board_name ,
@@ -236,7 +238,7 @@ def create_results_gist(server, job_name, build_number, board_name):
236
238
data [bn ] = info [0 ]
237
239
238
240
m = telemetry .markdown .ResultsMarkdown (data )
239
- m .generate_gist ()
241
+ m .generate_gist (github_gist_url , github_gist_token )
240
242
241
243
@click .command ()
242
244
def main (args = None ):
0 commit comments