ci: add GitHub check status update for desktop repo

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-10-20 20:03:43 +02:00
parent 0a09b141df
commit 3c48317ce2
1 changed files with 8 additions and 0 deletions

View File

@ -154,6 +154,14 @@ pipeline {
properties: [],
jdk: '',
])
/* For PR builds update check status. */
if (params.BUILD_SOURCE ==~ /.*\/PR-[0-9]+\/?$/) {
github.statusUpdate(
context: 'jenkins/prs/tests/e2e-new',
commit: jenkins.getJobCommitByPath(params.BUILD_SOURCE),
repo_url: 'https://github.com/status-im/status-desktop'
)
}
} }
cleanup { cleanWs() }
}