[JIRA] [flexible-publish-plugin] (JENKINS-31229) Flexible publisher does not properly consider 'dynamic' RunCondition for MatrixBuild aggregation

2015-10-29 Thread de...@ikedam.jp (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 ikedam assigned an issue to ikedam 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-31229 
 
 
 
  Flexible publisher does not properly consider 'dynamic' RunCondition for MatrixBuild aggregation  
 
 
 
 
 
 
 
 
 

Change By:
 
 ikedam 
 
 
 

Assignee:
 
 bap ikedam 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [flexible-publish-plugin] (JENKINS-31229) Flexible publisher does not properly consider 'dynamic' RunCondition for MatrixBuild aggregation

2015-10-29 Thread de...@ikedam.jp (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 ikedam commented on  JENKINS-31229 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Flexible publisher does not properly consider 'dynamic' RunCondition for MatrixBuild aggregation  
 
 
 
 
 
 
 
 
 
 
The condition is evaluated only once when a build starts. It decides whether to run all the aggregation process including 
 

startBuild: called when a parent build start.
 

endRun: called when a each child finishes.
 

endBuild: called when a parent build finishes.
 
 
This also means a following problem: you cannot use axes values in conditions for aggregation. I'll consoder to add an options for each steps. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [flexible-publish-plugin] (JENKINS-31229) Flexible publisher does not properly consider 'dynamic' RunCondition for MatrixBuild aggregation

2015-10-28 Thread frederic.chu...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Frédéric Chuong created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-31229 
 
 
 
  Flexible publisher does not properly consider 'dynamic' RunCondition for MatrixBuild aggregation  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 bap 
 
 
 

Components:
 

 flexible-publish-plugin 
 
 
 

Created:
 

 28/Oct/15 1:31 PM 
 
 
 

Environment:
 

 Jenkins 1.619  flexible-publisher 0.15.2 
 
 
 

Labels:
 

 flexible-publish run-condition matrix 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 Frédéric Chuong 
 
 
 
 
 
 
 
 
 
 
For MatrixProject, aggregation conditions seems to be only evaluated during the initial org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher.createAggregator(MatrixBuild, Launcher, BuildListener) call. That is fine for static conditions (such as org.jenkins_ci.plugins.run_condition.common.PrebuildSameAsPerformRunCondition hierarchy) but that does not allow 'dynamic' conditions to behave as expected: the associated publishers will be executed if the initial state of the build met the condition, regardless of the dynamic nature of the build (which may have invalidated the RunCondition after createAggretator())