[JIRA] (JENKINS-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-07 Thread totoroliu1...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rick Liu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-33114  
 
 
  Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
Change By: 
 Rick Liu  
 
 
Priority: 
 Critical 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-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-07 Thread totoroliu1...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rick Liu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-33114  
 
 
  Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
Change By: 
 Rick Liu  
 
 
Issue Type: 
 Improvement Bug  
 

  
 
 
 
 

 
 
 

 
 
 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-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-07 Thread totoroliu1...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rick Liu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-33114  
 
 
  Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
Change By: 
 Rick Liu  
 
 
Component/s: 
 multi-branch-project-plugin  
 
 
Component/s: 
 scm-api-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-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-07 Thread totoroliu1...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rick Liu commented on  JENKINS-33114  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
 Another use case would be for SVN. Assume I have SVN repo structure as: /branches /tags /trunk I use Multibranch to create jobs for trunk and branches. For trunk jobs, I'd want to choose (via input parameters) to build from both /trunk and /tags for those tags coming from trunk.  
 

  
 
 
 
 

 
 
 

 
 
 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-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-07 Thread totoroliu1...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rick Liu edited a comment on  JENKINS-33114  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
 I see now in  "Multi-Branch Project Plugin 0.5" has property support for "Suppress automatic SCM triggering",which achieves half of what I wantthat disable automatic SCM triggering after doing branch-indexing.Another approach to the other half of what I want isMultibranch plugin shouldn't assume the branch job SCM source to be the same as Multibranch Branch Sources.Multibranch Branch Sources should be used to create Jenkins jobs for the branches.Multibranch job should provide another configuration for SCM like build steps. This could then work for Consider  the use cases below:1.If I just want to use Multibranch to create Jenkins jobs,but I want to use different SCM or even manually handle SCM in SHELL or GROOVY script.2.My branch job structure is based upon SCM repoA,but for each of these Jobs do require extra secondary repoB.Hence,I think it's better to separate out the Multibranch Branch Sources and the Job SCM sources.  
 

  
 
 
 
 

 
 
 

 
 
 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-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-07 Thread totoroliu1...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Rick Liu commented on  JENKINS-33114  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
 I see now in "Multi-Branch Project Plugin 0.5"  has property support for "Suppress automatic SCM triggering", which achieves half of what I want that disable automatic SCM triggering after doing branch-indexing. Another approach to the other half of what I want is Multibranch plugin shouldn't assume  the branch job SCM source to be the same as Multibranch Branch Sources. Multibranch Branch Sources should be used to create Jenkins jobs for the branches. Multibranch job should provide another configuration for SCM like build steps. This could then work for the use cases below: 1. If I just want to use Multibranch to create Jenkins jobs, but I want to use different SCM or even manually handle SCM in SHELL or GROOVY script. 2. My branch job structure is based upon SCM repoA, but for each of these Jobs do require extra secondary repoB. Hence, I think it's better to separate out the Multibranch Branch Sources and the Job SCM sources.  
 

  
 
 
 
 

 
 
 

 
 
 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-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-01 Thread mjdetul...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matthew DeTullio assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-33114  
 
 
  Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
Change By: 
 Matthew DeTullio  
 
 
Assignee: 
 stephenconnolly  
 

  
 
 
 
 

 
 
 

 
 
 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-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-01 Thread mjdetul...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matthew DeTullio edited a comment on  JENKINS-33114  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
 I think this is slightly outside the scope of what any current plugins are intended to do.What you probably need for this is a custom plugin which implements {{jenkins.scm.api.SCMSource}} (or extends an existing one) to monitor for your list of branches only, and then produces a {{hudson.scm.NullSCM}} when you call {{jenkins.scm.api.SCMSource#build(SCMHead, SCMRevision)}} (https://github.com/jenkinsci/scm-api-plugin/blob/scm-api-1.2/src/main/java/jenkins/scm/api/SCMSource.java#L273). This new plugin would offer an additional SCM option on the multibranch project configuration page which does exactly what you want.  
 

  
 
 
 
 

 
 
 

 
 
 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-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-01 Thread mjdetul...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matthew DeTullio commented on  JENKINS-33114  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
 I think this is slightly outside the scope of what any current plugins are intended to do. What you probably need for this is a custom plugin which implements jenkins.scm.api.SCMSource (or extends an existing one) to monitor for your list of branches only, and then produces a hudson.scm.NullSCM when you call jenkins.scm.api.SCMSource#build(SCMHead, SCMRevision) (https://github.com/jenkinsci/scm-api-plugin/blob/scm-api-1.2/src/main/java/jenkins/scm/api/SCMSource.java#L273).  
 

  
 
 
 
 

 
 
 

 
 
 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-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-01 Thread mjdetul...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matthew DeTullio updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-33114  
 
 
  Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
Change By: 
 Matthew DeTullio  
 
 
Labels: 
 multibranch  
 

  
 
 
 
 

 
 
 

 
 
 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-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-01 Thread mjdetul...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matthew DeTullio updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-33114  
 
 
  Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
Change By: 
 Matthew DeTullio  
 
 
Environment: 
 Jenkins 1.642.1Oracle JDK 1.7Multi-Branch Project Plugin  0.4.1  (any version)  
 

  
 
 
 
 

 
 
 

 
 
 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-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-01 Thread mjdetul...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matthew DeTullio assigned an issue to stephenconnolly  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-33114  
 
 
  Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
Change By: 
 Matthew DeTullio  
 
 
Assignee: 
 Matthew DeTullio stephenconnolly  
 

  
 
 
 
 

 
 
 

 
 
 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-33114) Provide options for not doing SCM checkout by default while sync branches

2016-07-01 Thread mjdetul...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matthew DeTullio updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-33114  
 
 
  Provide options for not doing SCM checkout by default while sync branches   
 

  
 
 
 
 

 
Change By: 
 Matthew DeTullio  
 
 
Component/s: 
 branch-api-plugin  
 
 
Component/s: 
 scm-api-plugin  
 
 
Component/s: 
 multi-branch-project-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.