[ 
https://issues.apache.org/jira/browse/IGNITE-9939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660276#comment-16660276
 ] 

ASF GitHub Bot commented on IGNITE-9939:
----------------------------------------

SomeFire commented on a change in pull request #40: IGNITE-9939 BuildObserver 
UNKNOWN build state handling added
URL: https://github.com/apache/ignite-teamcity-bot/pull/40#discussion_r227284241
 
 

 ##########
 File path: 
ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcmodel/hist/BuildRef.java
 ##########
 @@ -181,4 +181,8 @@ public boolean isQueued() {
     public boolean isRunning() {
         return STATE_RUNNING.equals(state());
     }
+
+    public boolean isUnknown() {
+        return STATUS_UNKNOWN.equals(state());
 
 Review comment:
   State can't be unknown, it can be queued, running or finished. But status 
can be unknown when build is cancelled.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> [TC Bot] Handle situation within BuildObserver when build status is "UNKNOWN"
> -----------------------------------------------------------------------------
>
>                 Key: IGNITE-9939
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9939
>             Project: Ignite
>          Issue Type: Task
>            Reporter: PetrovMikhail
>            Assignee: PetrovMikhail
>            Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to