Set a Commit Hook to "active" without a checkin

I have 200+ projects that are occasionally used (about once every other year).  I just set up a commit hook because our BitBucket server is overwhelmed with the requests TeamCity is sending it.  The commit hook is working great for the 10 or so active projects.  But I still have 200+ inactive projects pinging the server every 60 seconds.

Is there a TeamCity API call I can make to tell TeamCity that the Commit Hook is setup and working, but there are no commits?  (So it will increase the `modificationCheckInterval` like it does when there is a successful commit that is reported by the hook?)

I don't want to push a change to BitBucket for each of these projects because it will cause builds and use up version numbers that will cause confusion with our release sysetm.

0

Please sign in to leave a comment.