We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59ae4bb commit 281808dCopy full SHA for 281808d
components/server/ee/src/prebuilds/bitbucket-server-app.ts
@@ -102,6 +102,12 @@ export class BitbucketServerApp {
102
const cloneUrl = context.repository.cloneUrl;
103
const commit = context.revision;
104
const projectAndOwner = await this.findProjectAndOwner(cloneUrl, user);
105
+ if (projectAndOwner.project) {
106
+ /* tslint:disable-next-line */
107
+ /** no await */ this.projectDB.updateProjectUsage(projectAndOwner.project.id, {
108
+ lastWebhookReceived: new Date().toISOString(),
109
+ });
110
+ }
111
const config = await this.prebuildManager.fetchConfig({ span }, user, context);
112
if (!this.prebuildManager.shouldPrebuild(config)) {
113
console.log("Bitbucket push event: No config. No prebuild.");
0 commit comments