ci: add GitHub check status update for desktop repo
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
0a09b141df
commit
3c48317ce2
|
@ -154,6 +154,14 @@ pipeline {
|
||||||
properties: [],
|
properties: [],
|
||||||
jdk: '',
|
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() }
|
cleanup { cleanWs() }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue