[JIRA] (JENKINS-42177) [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).

2017-02-19 Thread aleksandr_mazure...@epam.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aleksandr Mazurenko commented on  JENKINS-42177  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).   
 

  
 
 
 
 

 
 Additional information. 
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42177) [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).

2017-02-19 Thread aleksandr_mazure...@epam.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aleksandr Mazurenko updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42177  
 
 
  [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).   
 

  
 
 
 
 

 
Change By: 
 Aleksandr Mazurenko  
 
 
Attachment: 
 office365send-ADDITIONAL-INFO.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42033) Override `Start Time` (or remove it at all) in report with `office365ConnectorSend` command

2017-02-19 Thread aleksandr_mazure...@epam.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aleksandr Mazurenko updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42033  
 
 
  Override `Start Time` (or remove it at all) in report with `office365ConnectorSend` command   
 

  
 
 
 
 

 
Change By: 
 Aleksandr Mazurenko  
 
 
Attachment: 
 office365send-CONFIRMATION.png.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42033) Override `Start Time` (or remove it at all) in report with `office365ConnectorSend` command

2017-02-19 Thread aleksandr_mazure...@epam.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aleksandr Mazurenko edited a comment on  JENKINS-42033  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Override `Start Time` (or remove it at all) in report with `office365ConnectorSend` command   
 

  
 
 
 
 

 
 I'm confirming. There is no hardcoded 'Start Time' in the body of message.  !office365send-CONFIRMATION.png.png|thumbnail!   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42033) Override `Start Time` (or remove it at all) in report with `office365ConnectorSend` command

2017-02-19 Thread aleksandr_mazure...@epam.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aleksandr Mazurenko closed an issue as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 I'm confirming.  There is no hardcoded 'Start Time' in the body of message.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-42033  
 
 
  Override `Start Time` (or remove it at all) in report with `office365ConnectorSend` command   
 

  
 
 
 
 

 
Change By: 
 Aleksandr Mazurenko  
 
 
Status: 
 Resolved Closed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42177) [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).

2017-02-19 Thread aleksandr_mazure...@epam.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aleksandr Mazurenko updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42177  
 
 
  [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).   
 

  
 
 
 
 

 
Change By: 
 Aleksandr Mazurenko  
 
 
Environment: 
 Jenkins 2.32.2 ( official docker image 2.32.2-alpine)office-365-connector-plugin  = 2. 24 4 Java 8   
 

  
 
 
 
 

 
 Error message appears in console output after message sent:createJobCompletedCard: 203ERROR: Unable to cast run to abstract buildjava.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowRun cannot be cast to hudson.model.AbstractBuild.*Steps to reproduce:*1. install office-365-connector-plugin  = 2. 24 4 2. add to Jenkinsfile command in format :office365ConnectorSend message: , status: , webhookUrl: 3 Run pipeline build  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
   

[JIRA] (JENKINS-42177) [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).

2017-02-19 Thread aleksandr_mazure...@epam.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aleksandr Mazurenko commented on  JENKINS-42177  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).   
 

  
 
 
 
 

 
 Actually the message is sent in-spite of error . And mentioned error is not failing the build . Please check attached screenshot .
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42177) [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).

2017-02-19 Thread aleksandr_mazure...@epam.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aleksandr Mazurenko updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42177  
 
 
  [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).   
 

  
 
 
 
 

 
Change By: 
 Aleksandr Mazurenko  
 
 
Attachment: 
 office365send.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42177) [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).

2017-02-19 Thread aleksandr_mazure...@epam.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aleksandr Mazurenko updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42177  
 
 
  [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).   
 

  
 
 
 
 

 
Change By: 
 Aleksandr Mazurenko  
 
 
Attachment: 
 office365send.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42177) [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).

2017-02-19 Thread aleksandr_mazure...@epam.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aleksandr Mazurenko created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42177  
 
 
  [office365ConnectorSend] 'Unable to cast run to abstract build' error appears in pipeline build (Jenkinsfile).   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Srivardhan Hebbar  
 
 
Attachments: 
 office365send.png  
 
 
Components: 
 office-365-connector-plugin  
 
 
Created: 
 2017/Feb/19 3:17 PM  
 
 
Environment: 
 Jenkins 2.32.2 ( official docker image 2.32.2-alpine)  office-365-connector-plugin = 2.24  Java 8     
 
 
Priority: 
  Major  
 
 
Reporter: 
 Aleksandr Mazurenko  
 

  
 
 
 
 

 
 Error message appears in console output after message sent:  createJobCompletedCard: 203 ERROR: Unable to cast run to abstract build java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowRun cannot be cast to hudson.model.AbstractBuild . Steps to reproduce: 1. install office-365-connector-plugin = 2.24 2. add to Jenkinsfile command in format : office365ConnectorSend message: , status: , webhookUrl:  3 Run pipeline build  
 

  
 
 
 
 

 
 
 

 
   

[JIRA] (JENKINS-42033) Override `Start Time` (or remove it at all) in report with `office365ConnectorSend` command

2017-02-14 Thread aleksandr_mazure...@epam.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aleksandr Mazurenko updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42033  
 
 
  Override `Start Time` (or remove it at all) in report with `office365ConnectorSend` command   
 

  
 
 
 
 

 
Change By: 
 Aleksandr Mazurenko  
 
 
Issue Type: 
 Improvement Bug  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42033) Override `Start Time` (or remove it at all) in report with `office365ConnectorSend` command

2017-02-14 Thread aleksandr_mazure...@epam.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aleksandr Mazurenko created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42033  
 
 
  Override `Start Time` (or remove it at all) in report with `office365ConnectorSend` command   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Srivardhan Hebbar  
 
 
Attachments: 
 Screenshot_2017-02-14_23-26-55.png  
 
 
Components: 
 office-365-connector-plugin  
 
 
Created: 
 2017/Feb/14 9:04 PM  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Aleksandr Mazurenko  
 

  
 
 
 
 

 
 HI, We use office-365-connector-plugin in Jenkinsfile to send notification about status of build on different stages. The message in format: office365ConnectorSend message: , status: , webhookUrl:  works well.  The only issue messages used the same Card for notifications and contain the same 'Start Time' in the body of message. please see attached image. And there is no way to remove this 'Start Time' message from the body. It would be great to have ability to override this message or remove at all. Or , just need to implement calling different functions related to specific status of build. For example in case of SUCCESS to call Card - createJobCompletedCard with dependence of build status .