Executions limit for a build

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Executions limit for a build

Postby tristanisrael » Tue Sep 22, 2015 8:23 am

Dear all,

I have an automated executions of my test plans every hour. Now I have only one build named "automated" but, each run adds an execution. There is an XML file attached to each execution.
My question is: how to limit the total number of executions (for example I would like to keep only the last 60 executions or for 1 month...) ?

Thank you
Tristan
tristanisrael
TestLink user
 
Posts: 8
Joined: Wed Sep 09, 2015 6:36 pm

Re: Executions limit for a build

Postby fman » Tue Sep 22, 2015 8:26 am

there is no standard way, no api, ecc., You need to do custom development
fman
Member of TestLink Community
 
Posts: 3071
Joined: Tue Nov 15, 2005 7:19 am

Re: Executions limit for a build

Postby tristanisrael » Tue Sep 22, 2015 8:29 am

Ok thank you.

Please could you tell me if I'm right with the following scenario:
1 - delete records in the table executions
2 - delete records in the table attachements
3 - delete folders in the repository/executions

Is there anything else ?

Regards
Tristan
tristanisrael
TestLink user
 
Posts: 8
Joined: Wed Sep 09, 2015 6:36 pm

Re: Executions limit for a build

Postby fman » Tue Sep 22, 2015 10:41 am

Best thing to do may be is create (contribute) API to delete all related things.
Think doing the steps you have described can be enough, anyway it will be better if you
look for the issue and/or post that provide the DB SCHEMA and use it for additional check.
Example: you have forgot Customs Fields values related to executions

Please provide your work to community via a github repository

regards
fman
Member of TestLink Community
 
Posts: 3071
Joined: Tue Nov 15, 2005 7:19 am

Re: Executions limit for a build

Postby tristanisrael » Tue Sep 22, 2015 11:17 am

Ok thank you.
I'll look into it and submit it on github.

Regards
tristanisrael
TestLink user
 
Posts: 8
Joined: Wed Sep 09, 2015 6:36 pm


Return to TestLink 1.9



Who is online

Users browsing this forum: No registered users and 2 guests