[JIRA] [build-pipeline-plugin] (JENKINS-34722) Unbounded searches with BuildUtil.getDownstreamBuild
Title: Message Title Dan Alvizu commented on JENKINS-34722 Re: Unbounded searches with BuildUtil.getDownstreamBuild Fixed in release 1.5.3.1 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] [build-pipeline-plugin] (JENKINS-34722) Unbounded searches with BuildUtil.getDownstreamBuild
Title: Message Title SCM/JIRA link daemon resolved as Fixed Jenkins / JENKINS-34722 Unbounded searches with BuildUtil.getDownstreamBuild Change By: SCM/JIRA link daemon Status: Open Resolved Resolution: Fixed 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] [build-pipeline-plugin] (JENKINS-34722) Unbounded searches with BuildUtil.getDownstreamBuild
Title: Message Title SCM/JIRA link daemon commented on JENKINS-34722 Re: Unbounded searches with BuildUtil.getDownstreamBuild Code changed in jenkins User: Dan Alvizu Path: src/main/java/au/com/centrumsystems/hudson/plugin/util/BuildUtil.java src/test/java/au/com/centrumsystems/hudson/plugin/util/BuildUtilTest.java http://jenkins-ci.org/commit/build-pipeline-plugin/00a6a4ffe49f1a98ac0195dd5e940a3f070b79c9 Log: Merge pull request #100 from christ66/perf [FIXED JENKINS-34722] Performance improvement to not load all jobs Compare: https://github.com/jenkinsci/build-pipeline-plugin/compare/1dbe68a2a15d...00a6a4ffe49f 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] [build-pipeline-plugin] (JENKINS-34722) Unbounded searches with BuildUtil.getDownstreamBuild
Title: Message Title Steven Christou assigned an issue to Steven Christou Jenkins / JENKINS-34722 Unbounded searches with BuildUtil.getDownstreamBuild Change By: Steven Christou Assignee: Steven Christou 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] [build-pipeline-plugin] (JENKINS-34722) Unbounded searches with BuildUtil.getDownstreamBuild
Title: Message Title Mark Austin updated an issue Jenkins / JENKINS-34722 Unbounded searches with BuildUtil.getDownstreamBuild Change By: Mark Austin BuildUtil.getDownstreamBuild does an unbounded search of build records, which is never acceptable due to Jenkins lazy-loading, and particular not in the context of an HTTP handler thread.It would be better is to use AbstractBuild.getDownstreamBuilds(AbstractProject), which is efficient, though it only works for project chains which are correctly configured with fingerprints. Example:{code}"Handling GET /jenkins/org/job/Pipelines/job/org-build/view/Pipelines_View/ from 10.x.x.x : RequestHandlerThread[#2296] View/index.jelly" Id=126293 BLOCKED on hudson.model.RunMap@607d5beb owned by "Handling GET /jenkins/org/job/Pipelines/job/org-build/ from 10.x.x.x : RequestHandlerThread[#2297] View/index.jelly" Id=126471at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java)- blocked on hudson.model.RunMap@607d5bebat jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:448)at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:356)at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:332)at jenkins.model.lazy.LazyLoadRunMapEntrySet$1.next(LazyLoadRunMapEntrySet.java:74)at jenkins.model.lazy.LazyLoadRunMapEntrySet$1.next(LazyLoadRunMapEntrySet.java:63)at java.util.AbstractMap$2$1.next(AbstractMap.java:396)at au.com.centrumsystems.hudson.plugin.util.BuildUtil.getDownstreamBuild(BuildUtil.java:66){code} Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
[JIRA] [build-pipeline-plugin] (JENKINS-34722) Unbounded searches with BuildUtil.getDownstreamBuild
Title: Message Title Mark Austin created an issue Jenkins / JENKINS-34722 Unbounded searches with BuildUtil.getDownstreamBuild Issue Type: Improvement Assignee: Unassigned Components: build-pipeline-plugin Created: 2016/May/11 3:29 AM Priority: Major Reporter: Mark Austin BuildUtil.getDownstreamBuild does an unbounded search of build records, which is never acceptable due to Jenkins lazy-loading, and particular not in the context of an HTTP handler thread. It would be better is to use AbstractBuild.getDownstreamBuilds(AbstractProject), which is efficient, though it only works for project chains which are correctly configured with fingerprints. Add Comment