[JIRA] [multi-branch-project-plugin] (JENKINS-32388) Multi-branch plugin: Temporal error when syncing branches during build

2016-05-01 Thread sustmid...@centrum.cz (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Miroslav Sustek edited a comment on  JENKINS-32388 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Multi-branch plugin: Temporal error when syncing branches during build  
 
 
 
 
 
 
 
 
 
 I found that the problem is caused by calling: observer.created(project);in: https://github.com/jenkinsci/multi-branch-project-plugin/blob/558527a7832e1178c43152868d84fdb4d3d4b998/src/main/java/com/github/mjdetullio/jenkins/plugins/multibranch/AbstractMultiBranchProject.java#L634The observer in ComputedFolder then calls: child.onCreatedFromScratch();see: https://github.com/jenkinsci/cloudbees-folder-plugin/blob/8bd30255101eb8e390beab7c3a5d34227031b784/src/main/java/com/cloudbees/hudson/plugins/folder/computed/ComputedFolder.java#L177which probably should not be called on existing projects.When I removed the onCreatedFromScratch() call, the problem did not occur.To workaround this, I created a pull-request ( https://github.com/jenkinsci/multi-branch-project-plugin/pull/139 ) adding an option to disable syncing configuration of existing sub-projects.  Enabling  By enabling  the option you overcome this issue. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [multi-branch-project-plugin] (JENKINS-32388) Multi-branch plugin: Temporal error when syncing branches during build

2016-05-01 Thread sustmid...@centrum.cz (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Miroslav Sustek edited a comment on  JENKINS-32388 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Multi-branch plugin: Temporal error when syncing branches during build  
 
 
 
 
 
 
 
 
 
 I found that the problem is caused by calling: observer.created(project);in: https://github.com/jenkinsci/multi-branch-project-plugin/blob/558527a7832e1178c43152868d84fdb4d3d4b998/src/main/java/com/github/mjdetullio/jenkins/plugins/multibranch/AbstractMultiBranchProject.java#L634The observer in ComputedFolder then calls: child.onCreatedFromScratch();see: https://github.com/jenkinsci/cloudbees-folder-plugin/blob/ 558527a7832e1178c43152868d84fdb4d3d4b998 8bd30255101eb8e390beab7c3a5d34227031b784 /src/main/java/com/cloudbees/hudson/plugins/folder/computed/ComputedFolder.java#L177which probably should not be called on existing projects.When I removed the onCreatedFromScratch() call, the problem did not occur.To workaround this, I created a pull-request ( https://github.com/jenkinsci/multi-branch-project-plugin/pull/139 ) adding an option to disable syncing configuration of existing sub-projects. Enabling the option you overcome this issue. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [multi-branch-project-plugin] (JENKINS-32388) Multi-branch plugin: Temporal error when syncing branches during build

2016-05-01 Thread sustmid...@centrum.cz (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Miroslav Sustek edited a comment on  JENKINS-32388 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Multi-branch plugin: Temporal error when syncing branches during build  
 
 
 
 
 
 
 
 
 
 I found that the problem is caused by calling: observer.created(project);in: https://github.com/jenkinsci/multi-branch-project-plugin/blob/ master 558527a7832e1178c43152868d84fdb4d3d4b998 /src/main/java/com/github/mjdetullio/jenkins/plugins/multibranch/AbstractMultiBranchProject.java#L634The observer in ComputedFolder then calls: child.onCreatedFromScratch();see: https://github.com/jenkinsci/cloudbees-folder-plugin/blob/ master 558527a7832e1178c43152868d84fdb4d3d4b998 /src/main/java/com/cloudbees/hudson/plugins/folder/computed/ComputedFolder.java#L177which probably should not be called on existing projects.When I removed the onCreatedFromScratch() call, the problem did not occur.To workaround this, I created a pull-request ( https://github.com/jenkinsci/multi-branch-project-plugin/pull/139 ) adding an option to disable syncing configuration of existing sub-projects. Enabling the option you overcome this issue. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [multi-branch-project-plugin] (JENKINS-32388) Multi-branch plugin: Temporal error when syncing branches during build

2016-05-01 Thread sustmid...@centrum.cz (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Miroslav Sustek edited a comment on  JENKINS-32388 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Multi-branch plugin: Temporal error when syncing branches during build  
 
 
 
 
 
 
 
 
 
 I found that the problem is caused by calling: observer.created(project); in: https://github.com/jenkinsci/multi-branch-project-plugin/blob/master/src/main/java/com/github/mjdetullio/jenkins/plugins/multibranch/AbstractMultiBranchProject.java#L634The observer in ComputedFolder  in  then calls: child.onCreatedFromScratch(); see: https://github.com/jenkinsci/cloudbees-folder-plugin/blob/master/src/main/java/com/cloudbees/hudson/plugins/folder/computed/ComputedFolder.java#L177which probably should not be called on existing projects.When I removed the onCreatedFromScratch() call, the problem did not occur.To workaround this, I created a pull-request ( https://github.com/jenkinsci/multi-branch-project-plugin/pull/139 ) adding an option to disable syncing configuration of existing sub-projects. Enabling  this  the  option you overcome this issue. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [multi-branch-project-plugin] (JENKINS-32388) Multi-branch plugin: Temporal error when syncing branches during build

2016-05-01 Thread sustmid...@centrum.cz (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Miroslav Sustek commented on  JENKINS-32388 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Multi-branch plugin: Temporal error when syncing branches during build  
 
 
 
 
 
 
 
 
 
 
I found that the problem is caused by calling: observer.created(project); https://github.com/jenkinsci/multi-branch-project-plugin/blob/master/src/main/java/com/github/mjdetullio/jenkins/plugins/multibranch/AbstractMultiBranchProject.java#L634 
The observer in ComputedFolder in then calls: child.onCreatedFromScratch(); https://github.com/jenkinsci/cloudbees-folder-plugin/blob/master/src/main/java/com/cloudbees/hudson/plugins/folder/computed/ComputedFolder.java#L177 
which probably should not be called on existing projects. When I removed the onCreatedFromScratch() call, the problem did not occur. 
To workaround this, I created a pull-request ( https://github.com/jenkinsci/multi-branch-project-plugin/pull/139 ) adding an option to disable syncing configuration of existing sub-projects. Enabling this option you overcome this issue. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [multi-branch-project-plugin] (JENKINS-32388) Multi-branch plugin: Temporal error when syncing branches during build

2016-02-18 Thread a...@varju.ca (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alex Varju commented on  JENKINS-32388 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Multi-branch plugin: Temporal error when syncing branches during build  
 
 
 
 
 
 
 
 
 
 
I'm seeing this too. Another thing that's biting me, possibly related to this, is that frequently I'll end up with a second build of the same commit being kicked off, presumably because Jenkins doesn't know it's already building that commit. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [multi-branch-project-plugin] (JENKINS-32388) Multi-branch plugin: Temporal error when syncing branches during build

2016-02-10 Thread fdobr...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Fedor Dobrotvorsky assigned an issue to Fedor Dobrotvorsky 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32388 
 
 
 
  Multi-branch plugin: Temporal error when syncing branches during build  
 
 
 
 
 
 
 
 
 

Change By:
 
 Fedor Dobrotvorsky 
 
 
 

Assignee:
 
 Matthew DeTullio Fedor Dobrotvorsky 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [multi-branch-project-plugin] (JENKINS-32388) Multi-branch plugin: Temporal error when syncing branches during build

2016-02-10 Thread fdobr...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Fedor Dobrotvorsky assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32388 
 
 
 
  Multi-branch plugin: Temporal error when syncing branches during build  
 
 
 
 
 
 
 
 
 

Change By:
 
 Fedor Dobrotvorsky 
 
 
 

Assignee:
 
 Fedor Dobrotvorsky 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [multi-branch-project-plugin] (JENKINS-32388) Multi-branch plugin: Temporal error when syncing branches during build

2016-02-10 Thread fdobr...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Fedor Dobrotvorsky commented on  JENKINS-32388 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Multi-branch plugin: Temporal error when syncing branches during build  
 
 
 
 
 
 
 
 
 
 
Also it was revealed in Jenkins v1.646 with Multi-Branch Project Plugin v0.4.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] [multi-branch-project-plugin] (JENKINS-32388) Multi-branch plugin: Temporal error when syncing branches during build

2016-02-10 Thread fdobr...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Fedor Dobrotvorsky assigned an issue to Matthew DeTullio 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32388 
 
 
 
  Multi-branch plugin: Temporal error when syncing branches during build  
 
 
 
 
 
 
 
 
 

Change By:
 
 Fedor Dobrotvorsky 
 
 
 

Assignee:
 
 Matthew DeTullio 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [multi-branch-project-plugin] (JENKINS-32388) Multi-branch plugin: Temporal error when syncing branches during build

2016-01-11 Thread sustmid...@centrum.cz (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Miroslav Sustek updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32388 
 
 
 
  Multi-branch plugin: Temporal error when syncing branches during build  
 
 
 
 
 
 
 
 
 

Change By:
 
 Miroslav Sustek 
 
 
 
 
 
 
 
 
 
 When you run "Sync branches" during build of Multi-branch Project the running build becomes "broken" until it finishes. By broken I mean that you cannot display the running build.If you go tu URL of the build, eg.: http://localhost:10002/job/gnome-shell-extensions-sustmi/branch/master/1/you will get the following error:---HTTP ERROR 404Problem accessing /job/gnome-shell-extensions-sustmi/branch/master/1/. Reason:Not FoundPowered by Jetty://---Also you cannot display build console and if you had the console open before you run "Sync branches" the console output  trims  is trimmed and similar error message is displayed.Steps to reproduce:1. Install Multi-Branch Project Plugin2. Install GIT Plugin3. Create new "Freestyle multi-branch project"4. Click to "Git" in "Source Code Management" and set "Project Repository" to: https://github.com/sustmi/gnome-shell-extensions-sustmi.git5. Add "Execute shell" build step containing following script:---echo "start"sleep 60echo "finish"---6. Let the build run (it should start automatically)7. Display "Console Output" of the build in new tab8. Click to "Run Now" in "Sync Branches" of the projectWhat happens:- Console output breaks when you sync branches- Build page build (eg. http://localhost:10002/job/gnome-shell-extensions-sustmi/branch/master/1/ ) displays fore-mentioned error message.- Builds still runs. After it finishes all becomes normal. Build page is available again and Console output shows that build echoed "finish"What should happen:- Console output and build page should be available all the time (even after running "Sync Branches") 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

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

[JIRA] [multi-branch-project-plugin] (JENKINS-32388) Multi-branch plugin: Temporal error when syncing branches during build

2016-01-11 Thread sustmid...@centrum.cz (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Miroslav Sustek created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32388 
 
 
 
  Multi-branch plugin: Temporal error when syncing branches during build  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Matthew DeTullio 
 
 
 

Components:
 

 multi-branch-project-plugin 
 
 
 

Created:
 

 11/Jan/16 11:57 AM 
 
 
 

Environment:
 

 Jenkins ver. 1.625.3   Clean docker image from https://hub.docker.com/_/jenkins/ .  The same erroneous behaviour happens on normal installation (not through docker). 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 Miroslav Sustek 
 
 
 
 
 
 
 
 
 
 
When you run "Sync branches" during build of Multi-branch Project the running build becomes "broken" until it finishes. By broken I mean that you cannot display the running build. If you go tu URL of the build, eg.: http://localhost:10002/job/gnome-shell-extensions-sustmi/branch/master/1/ you will get the following error: — HTTP ERROR 404 
Problem accessing /job/gnome-shell-extensions-sustmi/branch/master/1/. Reason: 
 Not Found 
Powered by Jetty:// — 
Also you cannot display build console and if you had the console open before you run "Sync branches" the console output trims is trimmed and similar error message is displayed. 
Steps to reproduce: 1. Install Multi-Branch Project Plugin 2. Install