[JIRA] (JENKINS-49434) Multibranch pipeline doesn't trigger on Git submodule changes

2018-11-16 Thread vivek.pan...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vivek Pandey updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49434  
 
 
  Multibranch pipeline doesn't trigger on Git submodule changes   
 

  
 
 
 
 

 
Change By: 
 Vivek Pandey  
 
 
Labels: 
 multibranch pipeline scm  triaged-2018-11  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-49434) Multibranch pipeline doesn't trigger on Git submodule changes

2018-03-04 Thread captresp...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jon Roberts commented on  JENKINS-49434  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multibranch pipeline doesn't trigger on Git submodule changes   
 

  
 
 
 
 

 
 We have a similar setup.  We have our develop parent branch tracking the tip of develop submodules.  In Jenkins I had to setup watch jobs that monitor the develop submodules for changes then kick off the parent develop build.  All that works great.   Now I'm trying to figure out how to do something similar with a multibranch pipeline.   It'd be great if I could somehow monitor the submodule projects then kick off the the parent project again, but specify which submodule branches to checkout.   I think you can setup multiple sources for your submodule projects.  The the Jenkinsfile would then have to checkout the parent project and build all the things.   Probably would need to duplicate/have similar jenkinsfiles in each submodule, since they would all have to know how to build themselves from the parent.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49434) Multibranch pipeline doesn't trigger on Git submodule changes

2018-02-08 Thread chris.reff...@soartech.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Chris Reffett commented on  JENKINS-49434  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multibranch pipeline doesn't trigger on Git submodule changes   
 

  
 
 
 
 

 
 Sure, I'm referring to the former. In the single-branch pipeline, Jenkins was set to update the submodules to their tip, and that registered as an SCM change and triggered a build. In the multibranch pipeline, the same behavior is set, but the Scan Multibranch Pipe Log shows that Jenkins is only checking the top-level repo's commit ID for changes. Background on our configuration: My organization has several components in their own repos and then combines them as sub-modules of a "master" repository to build (with the master repository having a few other things, like a pom.xml and Jenkins config). Since we don't care about the submodules pointing to a specific commit on our develop branch, our .gitmodules config points to the develop branch and has ignore=all set.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49434) Multibranch pipeline doesn't trigger on Git submodule changes

2018-02-08 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-49434  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multibranch pipeline doesn't trigger on Git submodule changes   
 

  
 
 
 
 

 
 Can you provide more detail of what you mean when you say: 

one of the submodules changes
 For example, do you mean one (or more) of these scenarios: 
 
a single branch pipeline detects a case where a commit is submitted to a submodule repository without any commit being submitted to the parent repository. That would be unexpected (at least for me), since a submodule commit is not used unless a commit is made to the parent module to point it to the new commit in the submodule 
a single branch pipeline detects a case where a commit is submitted to a submodule repository and a commit is submitted to the parent repository. That should be detected as a new commit in the parent repository and should be detected by the single branch pipeline when it polls or is notified by a web hook and should be detected by the multi-branch pipeline when it scans the repository or is notified by a web hook 
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails 

[JIRA] (JENKINS-49434) Multibranch pipeline doesn't trigger on Git submodule changes

2018-02-08 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49434  
 
 
  Multibranch pipeline doesn't trigger on Git submodule changes   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Assignee: 
 Mark Waite  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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.