Skip to content

Commit

Permalink
fix: use small delay before posting branch status to gitlab (#8759)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobvandevijver authored and Bob van de Vijver committed Feb 19, 2021
1 parent 6b49402 commit eb8ca67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/platform/gitlab/index.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,9 @@ export async function setBranchStatus({
options.target_url = targetUrl;
}
try {
// give gitlab some time to create pipelines for the sha
await delay(1000);

await gitlabApi.postJson(url, { body: options });

// update status cache
Expand Down

0 comments on commit eb8ca67

Please sign in to comment.