[JIRA] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title SCM/JIRA link daemon commented on JENKINS-30798 Re: Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip Code changed in jenkins User: Jesse Glick Path: cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsScmFlowDefinition.java http://jenkins-ci.org/commit/workflow-cps-plugin/85f555b1773e15213b4772e33f2207350aae90b6 Log: [FIXED JENKINS-30798] SCMBinder was calling the wrong overload of SCMSource.fetch. There is no need to consider SCMSourceCriteria here, nor to inspect unrelated branches. It was also not dealing gracefully with problems such as deleted branches. Originally-Committed-As: 1d791a950b927a5bc3ffb18ccda9aca7ebc5d0b4 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title SCM/JIRA link daemon commented on JENKINS-30798 Re: Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip Code changed in jenkins User: Jesse Glick Path: multibranch/src/main/java/org/jenkinsci/plugins/workflow/multibranch/SCMBinder.java multibranch/src/test/java/org/jenkinsci/plugins/workflow/multibranch/SCMBinderTest.java http://jenkins-ci.org/commit/workflow-multibranch-plugin/f19ab8f9d5d9b3ac889abfcd412dfad5332fb542 Log: [FIXED JENKINS-30798] SCMBinder was calling the wrong overload of SCMSource.fetch. There is no need to consider SCMSourceCriteria here, nor to inspect unrelated branches. It was also not dealing gracefully with problems such as deleted branches. Originally-Committed-As: 1d791a950b927a5bc3ffb18ccda9aca7ebc5d0b4 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title SCM/JIRA link daemon resolved as Fixed Jenkins / JENKINS-30798 Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip Change By: SCM/JIRA link daemon Status: In Progress 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title SCM/JIRA link daemon commented on JENKINS-30798 Re: Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip Code changed in jenkins User: Jesse Glick Path: cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsScmFlowDefinition.java multibranch/src/main/java/org/jenkinsci/plugins/workflow/multibranch/SCMBinder.java multibranch/src/test/java/org/jenkinsci/plugins/workflow/multibranch/SCMBinderTest.java http://jenkins-ci.org/commit/workflow-plugin/1d791a950b927a5bc3ffb18ccda9aca7ebc5d0b4 Log: [FIXED JENKINS-30798] SCMBinder was calling the wrong overload of SCMSource.fetch. There is no need to consider SCMSourceCriteria here, nor to inspect unrelated branches. It was also not dealing gracefully with problems such as deleted branches. 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title SCM/JIRA link daemon commented on JENKINS-30798 Re: Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip Code changed in jenkins User: Jesse Glick Path: cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsScmFlowDefinition.java multibranch/src/main/java/org/jenkinsci/plugins/workflow/multibranch/SCMBinder.java multibranch/src/test/java/org/jenkinsci/plugins/workflow/multibranch/SCMBinderTest.java http://jenkins-ci.org/commit/workflow-plugin/85553288ab80ad69ded0df1db3ec77bb89fd12f0 Log: Merge pull request #235 from jglick/SCMBinder-fetch JENKINS-30798 SCMBinder was calling the wrong overload of SCMSource.fetch Compare: https://github.com/jenkinsci/workflow-plugin/compare/00c8c62d5276...85553288ab80 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title Jesse Glick updated an issue Jenkins / JENKINS-30798 Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip Change By: Jesse Glick Priority: Minor Major 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title Jesse Glick commented on JENKINS-30798 Re: Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip JENKINS-30744 is probably one cause, but not the sole one. Have not heard of steps to reproduce with plain branch names. Remember observing it in some cases when manually rebuilding (Build Now) branch projects, apparently worked around by manually triggering branch indexing, but was never able to reproduce it even then. 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title Jesse Glick commented on JENKINS-30798 Re: Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip Manuel Jesús Recena Soto the exception in that case is more likely one of possibly many side effects of the lack of a fix for JENKINS-30744, so it should probably be ignored. 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title Manuel Jesús Recena Soto commented on JENKINS-30798 Re: Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip magnayn, I've added two new tests, one of them specific for this bug. Your feedback will be nice. 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title Manuel Jesús Recena Soto commented on JENKINS-30798 Re: Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip @magnayn Yes, but the bug is still happening. You can reproduce the bug if you do a commit removing Jenkinsfile. 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title magnayn edited a comment on JENKINS-30798 Re: Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip I would - but - since I applied a name-correction-hack (below) to multi-branch-workflow and restarting I haven't seen the problem since.. ;-/ {{ @@ -42,11 +42,14 @@ public class WorkflowBranchProjectFactory extends BranchProjectFactory private static final Logger LOGGER = Logger.getLogger(WorkflowBranchProjectFactory.class.getName()); @DataBoundConstructor public WorkflowBranchProjectFactory() {} @Override public WorkflowJob newInstance(Branch branch) {-WorkflowJob job = new WorkflowJob((WorkflowMultiBranchProject) getOwner(), branch.getName());++String branchName = branch.getName().replace("/", "-");++WorkflowJob job = new WorkflowJob((WorkflowMultiBranchProject) getOwner(), branchName); job.setDefinition(new SCMBinder()); setBranch(job, branch); return job; }} } 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title magnayn commented on JENKINS-30798 Re: Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip I would - but - since I applied a name-correction-hack (below) to multi-branch-workflow and restarting I haven't seen the problem since.. ;-/ {{@@ -42,11 +42,14 @@ public class WorkflowBranchProjectFactory extends BranchProjectFactory private static final Logger LOGGER = Logger.getLogger(WorkflowBranchProjectFactory.class.getName()); @DataBoundConstructor public WorkflowBranchProjectFactory() {} @Override public WorkflowJob newInstance(Branch branch) { - WorkflowJob job = new WorkflowJob((WorkflowMultiBranchProject) getOwner(), branch.getName()); + + String branchName = branch.getName().replace("/", "-"); + + WorkflowJob job = new WorkflowJob((WorkflowMultiBranchProject) getOwner(), branchName); job.setDefinition(new SCMBinder()); setBranch(job, branch); return job; } }} 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title Manuel Jesús Recena Soto commented on JENKINS-30798 Re: Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip magnayn, Could you try if this PR solves the bug? 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title Manuel Jesús Recena Soto started work on JENKINS-30798 Change By: Manuel Jesús Recena Soto Status: Open In Progress 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title Manuel Jesús Recena Soto assigned an issue to Manuel Jesús Recena Soto Jenkins / JENKINS-30798 Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip Change By: Manuel Jesús Recena Soto Assignee: Jesse Glick Manuel Jesús Recena Soto 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] [workflow-plugin] (JENKINS-30798) Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip
Title: Message Title Jesse Glick updated an issue Jenkins / JENKINS-30798 Workflow multibranch failed after rebase: IllegalStateException: could not find branch tip Change By: Jesse Glick Summary: workflow Workflow multibranch failed after rebase : IllegalStateException: could not find branch tip 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.