[OpenVino ONNX CI watchdog] Small improvements (#3096)
* Small improvements * Enlarge pending status
This commit is contained in:
committed by
GitHub
parent
c7155d13a4
commit
c3683341f3
2
.ci/openvino-onnx/watchdog/Jenkinsfile
vendored
2
.ci/openvino-onnx/watchdog/Jenkinsfile
vendored
@@ -14,7 +14,7 @@ timeout(30)
|
||||
dir ("$BUILD_WORKSPACE") {
|
||||
checkout([$class: 'GitSCM', branches: [[name: "*/$BRANCH"]],
|
||||
doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CloneOption', timeout: 30]], submoduleCfg: [],
|
||||
userRemoteConfigs: [[credentialsId: "${GITHUB_KEY}", url: 'git@github.com:rblaczkowski/openvino.git']]])
|
||||
userRemoteConfigs: [[credentialsId: "${GITHUB_KEY}", url: "${OPEN_VINO_URL}"]]])
|
||||
}
|
||||
}
|
||||
stage("Prepare environment") {
|
||||
|
||||
@@ -94,15 +94,6 @@ class GitWrapper:
|
||||
:return: Paginated list of Pull Requests in GitHub repo
|
||||
:rtype: github.PaginatedList.PaginatedList of github.PullRequest.PullRequest
|
||||
"""
|
||||
message = "git: {}".format(self.git)
|
||||
message2 = "repository: {}".format(self.repository)
|
||||
message3 = "project: {}".format(self.project)
|
||||
message4 = "github_credentials: {}".format(self.github_credentials)
|
||||
log.warning(message)
|
||||
log.warning(message2)
|
||||
log.warning(message3)
|
||||
log.warning(message4)
|
||||
|
||||
return self.git.get_organization(self.repository).get_repo(self.project).get_pulls()
|
||||
|
||||
|
||||
|
||||
@@ -352,7 +352,8 @@ class Watchdog:
|
||||
build_number = self._retrieve_build_number(status.target_url)
|
||||
# CI build finished - verify if expected output is present
|
||||
finished_statuses = ['Build finished', 'This commit cannot be built', 'This commit looks good']
|
||||
pending_statuses = ['This commit is being built', 'Testing in progress']
|
||||
pending_statuses = ['This commit is being built', 'Testing in progress',
|
||||
'This commit is scheduled to be built']
|
||||
if any(phrase in status.description for phrase in finished_statuses):
|
||||
self._check_finished(pr, build_number)
|
||||
# CI build in progress - verify timeouts for build queue and duration
|
||||
|
||||
Reference in New Issue
Block a user