Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72405

incorrect build is used during constrains evaluation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • performance-plugin
    • None

      Plugin takes wrong build for validness of constraints evaluation. It always takes the last build for the pipeline instead the one that actually called plugin. The code issue is here builds.get(0) so if the build n called the plugin and there in build n+1 in pipeline the plugin will use build n+1 context to perform validations which results in errors like 

      Performance Plugin: Could't find a report specified in the performance constraints! Report: xxx.jlt

       

            Unassigned Unassigned
            alex_no alex
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: