[JIRA] (JENKINS-35173) jobs not removed when branch gets removed
Title: Message Title Jesse Glick commented on JENKINS-35173 Re: jobs not removed when branch gets removed As soon as the branch is deleted, then once periodic branch scanning occurs, and according to details of the orphaned item strategy, the job is deleted to match. Probably you should use the users list for advice/assistance unless you have a specific, demonstrable bug to report. 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-35173) jobs not removed when branch gets removed
Title: Message Title Sergey Zhemzhitsky edited a comment on JENKINS-35173 Re: jobs not removed when branch gets removed > {quote} Sure, if you have requested they not be deleted immediately, then Jenkins honors your request {quote}... but this is multibranch pipeline job, that declares that jobs are created when the corresponding branches are created and removed, when the branches are removed. Why do I need a job for the branch that does not exist? Such a job will never be removed because the removed branch will never be updated. 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-35173) jobs not removed when branch gets removed
Title: Message Title Sergey Zhemzhitsky commented on JENKINS-35173 Re: jobs not removed when branch gets removed > Sure, if you have requested they not be deleted immediately, then Jenkins honors your request ... but this is multibranch pipeline job, that declares that jobs are created when the corresponding branches are created and removed, when the branches are removed. Why do I need a job for the branch that does not exist? Such a job will never be removed because the removed branch will never be updated. 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-35173) jobs not removed when branch gets removed
Title: Message Title Jesse Glick commented on JENKINS-35173 Re: jobs not removed when branch gets removed As I have already mentioned the jobs are not removed until I set Max # of old items to keep to zero. Sure, if you have requested they not be deleted immediately, then Jenkins honors your request. 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-35173) jobs not removed when branch gets removed
Title: Message Title Dominik Bartholdi commented on JENKINS-35173 Re: jobs not removed when branch gets removed then I think you have a different issue then the one I originally opened this ticket. Maybe better to create a new one then. (and maybe add a reference to this one) 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-35173) jobs not removed when branch gets removed
Title: Message Title Sergey Zhemzhitsky commented on JENKINS-35173 Re: jobs not removed when branch gets removed I don't think that the issue is connected with bitbucket only. As I have already mentioned the jobs are not removed until I set Max # of old items to keep to zero. I have the orphan strategy setup like the following... with Max # of old items to keep set to an empty string. Then while reindexing Jenkins says ... Looking up / for pull requests Evaluating orphaned items in » build-multi Will not remove DMC-1234-test as it is only #1 in the list ... If I set Max # of old items to keep to zero directly ... then old items for non-existent branches are removed successfully ... Looking up / for pull requests Evaluating orphaned items in » build-multi Will remove DMC-1234-test as it is only #1 in the list ... 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
[JIRA] (JENKINS-35173) jobs not removed when branch gets removed
Title: Message Title Sergey Zhemzhitsky updated an issue Jenkins / JENKINS-35173 jobs not removed when branch gets removed Change By: Sergey Zhemzhitsky Attachment: jenkins_orphaned_strategy_zero_items_to_keep.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-35173) jobs not removed when branch gets removed
Title: Message Title Sergey Zhemzhitsky updated an issue Jenkins / JENKINS-35173 jobs not removed when branch gets removed Change By: Sergey Zhemzhitsky Attachment: jenkins_orphaned_strategy_empty_number.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-35173) jobs not removed when branch gets removed
Title: Message Title Dominik Bartholdi resolved as Duplicate Jenkins / JENKINS-35173 jobs not removed when branch gets removed Change By: Dominik Bartholdi Status: Open Resolved Resolution: Duplicate 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-35173) jobs not removed when branch gets removed
Title: Message Title Jesse Glick commented on JENKINS-35173 Re: jobs not removed when branch gets removed Sounds like this is just a duplicate then? 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-35173) jobs not removed when branch gets removed
Title: Message Title Dominik Bartholdi commented on JENKINS-35173 Re: jobs not removed when branch gets removed the root cause of this is most probably not in jenkins, but in a bug in bitbucket see JENKINS-38256 and https://bitbucket.org/site/master/issues/13524 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-35173) jobs not removed when branch gets removed
Title: Message Title Jesse Glick assigned an issue to Unassigned Jenkins / JENKINS-35173 jobs not removed when branch gets removed Change By: Jesse Glick Component/s: bitbucket-branch-source-plugin Component/s: workflow-multibranch-plugin Assignee: Jesse Glick 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-35173) jobs not removed when branch gets removed
Title: Message Title Jean-Philippe Caruana commented on JENKINS-35173 Re: jobs not removed when branch gets removed I am using the bitbucket plugin 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-35173) jobs not removed when branch gets removed
Title: Message Title Jesse Glick commented on JENKINS-35173 Re: jobs not removed when branch gets removed the branch is destroyed from the git server but there still is a job for this branch If you are using the plain Git branch source (as opposed to GitHub), I seem to recall there being a bug along these lines, which would be in git-plugin. But I also seem to remember remembering this at some point and trying to reproduce and not being able to. So I am unsure of current status. Anyway probably unrelated to the stated topic of this issue, whatever that is. There could be all kinds of different issues being thrown together here. The only thing that counts is reproducible steps given a specific combination of software versions, and taking into account the branch indexing log. 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-35173) jobs not removed when branch gets removed
Title: Message Title Jean-Philippe Caruana commented on JENKINS-35173 Re: jobs not removed when branch gets removed I have the same issue, which is not related to PR, but to deleted branches only. When I do a `git push origin :the_branch_i_want_to_delete`, the branch is destroyed from the git server but there still is a job for this branch. It would make sense that deleted branches lead to deleted jobs on a multibranch pipeline (I have seen the same log "Will not remove he_branch_i_want_to_delete as it is only #1 in the list" 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-35173) jobs not removed when branch gets removed
Title: Message Title Jesse Glick commented on JENKINS-35173 Re: jobs not removed when branch gets removed Not following. Either your orphaned item strategy is configured to delete the orphaned job, or it is not. Which is it? 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-35173) jobs not removed when branch gets removed
Title: Message Title Manuel Recena Soto assigned an issue to Jesse Glick Jenkins / JENKINS-35173 jobs not removed when branch gets removed Change By: Manuel Recena Soto Assignee: Manuel Recena Soto Jesse Glick 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-35173) jobs not removed when branch gets removed
Title: Message Title Sergey Zhemzhitsky updated an issue Jenkins / JENKINS-35173 jobs not removed when branch gets removed Change By: Sergey Zhemzhitsky Priority: Minor Major 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-35173) jobs not removed when branch gets removed
Title: Message Title Sergey Zhemzhitsky edited a comment on JENKINS-35173 Re: jobs not removed when branch gets removed I have exactly the same behavior only if there are "Orphaned Item Strategy" configured with the non-zero "Max # of old items to keep".When branch indexing occurs I have the following log for the removed branch{code:none}...Looking up / for pull requestsEvaluating orphaned items in » build-multiWill not remove DMC-1234-test as it is only #1 in the list...{code}It would be great to have an option (which is "on" by default) whether it is necessary to remove builds for deleted branches or not. I suppose it's more expected behavior that the job for the removed branch will be deleted than will be kept until an expected number of builds occurs (that may never happen as the branch is already deleted) 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-35173) jobs not removed when branch gets removed
Title: Message Title Sergey Zhemzhitsky commented on JENKINS-35173 Re: jobs not removed when branch gets removed I have exactly the same behavior only if there are "Orphaned Item Strategy" configured with the non-zero "Max # of old items to keep". When branch indexing occurs I have the following log for the removed branch ... Looking up / for pull requests Evaluating orphaned items in » build-multi Will not remove DMC-1234-test as it is only #1 in the list ... It would be great to have an option whether it is necessary to remove builds for deleted branches or not. 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.