Project cleanup rules through REST API

Hi,

I am not seeing project cleanup rules exposed through REST API. Is there a way to get them?

0
3 comments

Hi Denis,

unfortunately this isn't possible just yet: https://youtrack.jetbrains.com/issue/TW-43211 Please watch and vote on the issue to help it get implemented. You can also try and leave a comment if this feature is very important for you.

0

Thank you for the information.

I am looking at writing a plugin to find all projects that have custom cleanup settings. What is the right way to do this?

I see http://javadoc.jetbrains.net/teamcity/openapi/9.1/jetbrains/buildServer/serverSide/SProject.html#getConfigurationFile() which can be parsed to get <cleanup> tag.

Is there a better way to get that information?

TeamCity 2017.1.3 (build 46961)

0

Bump.

I am open to using non-public API as well. Thank you.

0

Please sign in to leave a comment.