[JIRA] (JENKINS-26799) Multiple SCMs plugin support

2017-02-06 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 SCM/JIRA link daemon commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Code changed in jenkins User: Boguslaw Klimas Path: src/test/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinitionTest.java http://jenkins-ci.org/commit/git-parameter-plugin/6336b41960434597180ab883b81d8e26e03b3641 Log: Merge pull request #45 from jenkinsci/feature/JENKINS-26799 Multiple SCMs plugin support Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/570bf0fbb7b0...6336b4196043  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-12-28 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas started work on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Boguslaw Klimas  
 
 
Status: 
 Reopened In Progress  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-12-19 Thread thefel...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleksii Shevchenko commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Boguslaw Klimas Thanks. So I have 2 git repositories. First is cloned at root of workspace, second to subdir of first repo. Having this setup I am not able to Regexp second repo, only first matching.  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-12-18 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Hi Oleksii Shevchenko I reopen this isssue and i will try to fix this   
 

  
 
 
 
 

 
 Jenkins /  JENKINS-26799  
 
 
  Multiple SCMs plugin support   
 

  
 
 
 
 

 
Change By: 
 Boguslaw Klimas  
 
 
Resolution: 
 Fixed  
 
 
Status: 
 Resolved Reopened  
 

  
 
 
 
 

 
 
 

 
 
 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 

[JIRA] (JENKINS-26799) Multiple SCMs plugin support

2016-12-14 Thread thefel...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleksii Shevchenko edited a comment on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Apparently does not work when your second SCM cloned to subdir  (GIT) .  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-12-14 Thread thefel...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleksii Shevchenko commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Apparently does not work when your second SCM cloned to subdir.  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-11-27 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas updated  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Release 0.7.1  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-26799  
 
 
  Multiple SCMs plugin support   
 

  
 
 
 
 

 
Change By: 
 Boguslaw Klimas  
 
 
Status: 
 In Review Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-11-19 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas updated  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-26799  
 
 
  Multiple SCMs plugin support   
 

  
 
 
 
 

 
Change By: 
 Boguslaw Klimas  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-11-19 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 https://github.com/jenkinsci/git-parameter-plugin/pull/41  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-11-06 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas edited a comment on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Hi [~nfalco]The solution to this issue is only part of a larger issue [JENKINS-39530|https://issues.jenkins-ci.org/browse/JENKINS-39530].Finally I will add only one new option in configuration 'Use repository', this option will be a regular _expression_. It will be taken into account only, when is defined more then one SCM in job. When properties is empty plugin get first SMC from job.  From my perspective, any change must be transparent for current user. RegardsBogusław  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-11-05 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Hi Nikolas Falco The solution to this issue is only part of a larger issue JENKINS-39530. Finally I will add only one new option in configuration 'Use repository', this option will be a regular _expression_. It will be taken into account only, when is defined more then one SCM in job. Regards Bogusław  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-11-03 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Boguslaw Klimas I have some doubts about FIRST and ALL value option. 
 
FIRST not work if no SCM defined and maybe I would have the commit or TAG value to do some kinds of work based on parameter value without source code (for example download binary deployed on artifactory with release tag). 
ALL could be a very confusing if BRANCH or REVISION are selected and more than one SCM is defined So the really useful choise is MATCH_REPOSITRY_URL but also in this case you could not use it when no SCM is defined. 
 The SVN strategy is very simple and usable   You always put the complete git URL and you could also select credential stored in jenkins so more issue JENKINS-28597  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-11-03 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-26799  
 
 
  Multiple SCMs plugin support   
 

  
 
 
 
 

 
Change By: 
 Nikolas Falco  
 
 
Attachment: 
 git parameter.jpg  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-11-02 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas started work on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Boguslaw Klimas  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-26 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas edited a comment on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 [~nfalco79] This is very good POC :) butYou may not have defined SCM when you add parameter or SCM definition can change after add parameter. Then you not have the actual information about SCM in parameter definition.I think good and simple solution is a:Add two option:- MultipleSCM: FIRST, ALL, MATCH_REPOSITORY_URL (combo)- MultipleSCM Url: __ (text field - regexp)'FIRST' is default value.If you choose 'FIRST' - plugin will take data  from first defined SCM (git repository)'ALL' plugin take data from all defined SCM 'MATCH_REPOSITORY_URL' plugin will take data from all SCM which url match from regular _expression_.The advantage of this solution is: you do not need know about defined SCM. and this and this is more flexible solution.Perhaps is enough option  'MATCH_REPOSITORY_URL'  and adding one  text field to configuratin.RegardsBoguslaw  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-26 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas edited a comment on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 [~nfalco79] This is very good POC :) butYou may not have defined SCM when you add parameter or SCM definition can change after add parameter. Then you not have the actual information about SCM in parameter definition.I think good and simple solution is a:Add two option:- MultipleSCM: FIRST, ALL, MATCH_REPOSITORY_URL (combo)- MultipleSCM Url: __ (text field - regexp)'FIRST' is default value.If you choose 'FIRST' - plugin will take data  from first defined SCM (git repository)'ALL' plugin take data from all defined SCM 'MATCH_REPOSITORY_URL' plugin will take data from all SCM which url match from regular _expression_.The advantage of this solution is: you do not need know about defined SCM. and this and this is more flexible solution. Perhaps is enough option and adding one  text field to configuratin. RegardsBoguslaw  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Nikolas Falco This is very good POC  but You may not have defined SCM when you add parameter or SCM definition can change after add parameter. Then you not have the actual information about SCM in parameter definition. I think good and simple solution is a: Add two option: 
 
MultipleSCM: FIRST, ALL, MATCH_REPOSITORY_URL (combo) 
MultipleSCM Url: __ (text field - regexp) 
 'FIRST' is default value. If you choose 'FIRST' - plugin will take data from first defined SCM (git repository) 'ALL' plugin take data from all defined SCM  'MATCH_REPOSITORY_URL' plugin will take data from all SCM which url match from regular _expression_. The advantage of this solution is: you do not need know about defined SCM. and this and this is more flexible solution. Regards Boguslaw  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread dakota.br...@verizonwireless.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dakota Brown updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-26799  
 
 
  Multiple SCMs plugin support   
 

  
 
 
 
 

 
Change By: 
 Dakota Brown  
 
 
Comment: 
 I like the general direction. I'll look closely at it when I get the chance  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread dakota.br...@verizonwireless.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dakota Brown commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 I like the general direction. I'll look closely at it when I get the chance  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread dakota.br...@verizonwireless.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dakota Brown commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 I like the general direction. I'll look closely at it when I get the chance  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-26799  
 
 
  Multiple SCMs plugin support   
 

  
 
 
 
 

 
Change By: 
 Nikolas Falco  
 
 
Comment: 
 This is only a working POC (proof of concept)https://github.com/nfalco79/git-parameter-plugin/tree/feature/JENKINS-26799 !screenshot-1.png|thumbnail!  !screenshot-2.png|thumbnail! *It works but*:* here MultiSCM is not an real optional dependency (I do not know if jenkins have some API to avoid Class.forName("") to know if a plugin is installed)* missing test case* missing handle event when you change repo URL and you have not set an SCM name (why if you not set any SCM Name the SCM key it's the string "git " + repoURL)* maybe some faultback for backward compatibility  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 This is only a working POC (proof of concept) https://github.com/nfalco79/git-parameter-plugin/tree/feature/JENKINS-26799   It works but: 
 
here MultiSCM is not an real optional dependency (I do not know if jenkins have some API to avoid Class.forName("") to know if a plugin is installed) 
missing test case 
missing handle event when you change repo URL and you have not set an SCM name (why if you not set any SCM Name the SCM key it's the string "git " + repoURL) 
maybe some faultback for backward compatibility 
  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-26799  
 
 
  Multiple SCMs plugin support   
 

  
 
 
 
 

 
Change By: 
 Nikolas Falco  
 
 
Attachment: 
 screenshot-4.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-26799) Multiple SCMs plugin support

2016-08-25 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-26799  
 
 
  Multiple SCMs plugin support   
 

  
 
 
 
 

 
Change By: 
 Nikolas Falco  
 
 
Attachment: 
 screenshot-3.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-26799) Multiple SCMs plugin support

2016-08-25 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 This is only a working POC (proof of concept) https://github.com/nfalco79/git-parameter-plugin/tree/feature/JENKINS-26799   It works but: 
 
here MultiSCM is not an real optional dependency (I do not know if jenkins have some API to avoid Class.forName("") to know if a plugin is installed) 
missing test case 
missing handle event when you change repo URL and you have not set an SCM name (why if you not set any SCM Name the SCM key it's the string "git " + repoURL) 
maybe some faultback for backward compatibility 
  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-26799  
 
 
  Multiple SCMs plugin support   
 

  
 
 
 
 

 
Change By: 
 Nikolas Falco  
 
 
Attachment: 
 screenshot-2.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-26799) Multiple SCMs plugin support

2016-08-25 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-26799  
 
 
  Multiple SCMs plugin support   
 

  
 
 
 
 

 
Change By: 
 Nikolas Falco  
 
 
Attachment: 
 screenshot-1.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-26799) Multiple SCMs plugin support

2016-08-25 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco edited a comment on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 I've debug a little bit and checked actual our jobs.+About unique name:+The unique scm name in a GIT SCM is not required but suggested (as described in the help of additional behaviour "Custom SCM Name"). The method getScmName() to retrieve that name was deprecated and could get null if not defined. Documentation say to use GitSCM.getKey() that always give to you a valid unique name for that git scm repository.+About parameter:+Some our jobs has more than 15 git repository to download before run the build script taken from an SVN repo :\Actually we have a String Parameter like REPOX_BRANCH for each repository. No sense have only git parameter for all repositories.I think a good solution was add to actual git parameter definition a combo with the list of all GitSCM.getKey() returned by MultiSCM (optional dependency).Instead when you execute a new build in getProjectSCM() method in case of MultiSCM it should iterate over getConfiguredSCMs() and return  ones  that  one  matches the key choosed in job configuration.  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 No because in the method getProjectSCM() you have to match the selected scmKey you have configured in the job with the ConfiguredSCM()  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread dakota.br...@verizonwireless.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dakota Brown commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 I think that's part of the difficulty though since that getProjectSCM() method has a return type for a singular SCM object. At that point, it affects a lot more than just multi-scm plugin. making that return a list of GitSCM objects turns into a high-impact change   
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 I've debug a little bit and checked actual our jobs. About unique name: The unique scm name in a GIT SCM is not required but suggested (as described in the help of additional behaviour "Custom SCM Name"). The method getScmName() to retrieve that name was deprecated and could get null if not defined. Documentation say to use GitSCM.getKey() that always give to you a valid unique name for that git scm repository. About parameter: Some our jobs has more than 15 git repository to download before run the build script taken from an SVN repo :\ Actually we have a String Parameter like REPOX_BRANCH for each repository. No sense have only git parameter for all repositories. I think a good solution was add to actual git parameter definition a combo with the list of all GitSCM.getKey() returned by MultiSCM (optional dependency). Instead when you execute a new build in getProjectSCM() method in case of MultiSCM it should iterate over getConfiguredSCMs() and return ones that matches the key choosed in job configuration.  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread dakota.br...@verizonwireless.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dakota Brown commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Boguslaw Klimas, That is where my solution stops being a good one  I've been thinking about it but haven't come up with a solution besides choosing the first GitSCM in the list. For my purposes that would be enough but it isn't universal Nikolas Falco, The problem with that solution is that the mutli scm plugin doesn't require unique scm names so long as the subdirectory they check out to is different.  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 I think a solution could be a combo that show a sorted list (so it groups by SCM) 
 
SCM Unique Name/TAG1 
SCM Unique Name/TAG2 
SCM Unique Name2/BRANCHA 
SCM Unique Name2/BRANCHB 
  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas edited a comment on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Hi [~luckless]This solution perhaps is ok, but  the   method getConfiguredSCMs() which returns a *list* of SCMs .Which SCMs of list I should choose to present in parameters? All/first/add combo to chose scm? Currently I don't have a good idea to resolve this problem.RegardsBoguslaw  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread klim...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Boguslaw Klimas commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Hi Dakota Brown This solution perhaps is ok, but method getConfiguredSCMs() which returns a list of SCMs  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread nfalc...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolas Falco commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Would be great  
 

  
 
 
 
 

 
 
 

 
 
 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-26799) Multiple SCMs plugin support

2016-08-25 Thread dakota.br...@verizonwireless.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dakota Brown commented on  JENKINS-26799  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Multiple SCMs plugin support   
 

  
 
 
 
 

 
 Boguslaw Klimas, It looks like this would be a matter of modifying GitParameterDefinition.getProjectSCM() with another option like the RepoSCM The class of the multiSCM plugin is org.jenkinsci.plugins.multiplescms.MultiSCM and the method that returns a list of SCMs is for MultiSCM getConfiguredSCMs() which returns a list of SCMs. If I can find some time in the next few weeks, I'll try to help out with this  
 

  
 
 
 
 

 
 
 

 
 
 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.