fix column shift for the test results
This commit is contained in:
@@ -226,7 +226,7 @@ class gDashboard:
|
|||||||
requests.append(self.addHyperlink(hyperlink, text, destinationSheetName, rowIndex, colIndex))
|
requests.append(self.addHyperlink(hyperlink, text, destinationSheetName, rowIndex, colIndex))
|
||||||
|
|
||||||
mr=str(self.git[x]['iid'])
|
mr=str(self.git[x]['iid'])
|
||||||
colIndex=14
|
colIndex=15
|
||||||
for t in self.tests:
|
for t in self.tests:
|
||||||
job=self.tests[t]['job']
|
job=self.tests[t]['job']
|
||||||
if job in self.db[mr]:
|
if job in self.db[mr]:
|
||||||
@@ -248,12 +248,12 @@ class gDashboard:
|
|||||||
#add MR hyperlinks in a list of requests to be sent as one update batch; this to save API calls (quotas)
|
#add MR hyperlinks in a list of requests to be sent as one update batch; this to save API calls (quotas)
|
||||||
requests=[]
|
requests=[]
|
||||||
rowIndex=1
|
rowIndex=1
|
||||||
colIndex=12
|
colIndex=13
|
||||||
for t in self.tests :
|
for t in self.tests :
|
||||||
hyperlink= '\"'+self.tests[t]['link']+'\"'
|
hyperlink= '\"'+self.tests[t]['link']+'\"'
|
||||||
short_name= '\"'+ t +'\"'
|
short_name= '\"'+ t +'\"'
|
||||||
requests.append(self.addHyperlink(hyperlink, short_name, destinationSheetName, rowIndex, colIndex))
|
requests.append(self.addHyperlink(hyperlink, short_name, destinationSheetName, rowIndex, colIndex))
|
||||||
colIndex+=3
|
colIndex+=4
|
||||||
|
|
||||||
body = {"requests": requests}
|
body = {"requests": requests}
|
||||||
self.ss.batch_update(body)
|
self.ss.batch_update(body)
|
||||||
|
|||||||
Reference in New Issue
Block a user