[JIRA] (JENKINS-42190) Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory

2017-03-27 Thread craig.sm...@kinneirdufort.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Smith commented on  JENKINS-42190  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory   
 

  
 
 
 
 

 
 There's a pull request to fix this issue awaiting merge on the plugins github. https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/41  
 

  
 
 
 
 

 
 
 

 
 
 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-42190) Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory

2017-03-16 Thread aziz....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aziz Baibabaev edited a comment on  JENKINS-42190  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory   
 

  
 
 
 
 

 
 +1 on 2.1.1   Bitbucket Server: 4.3.1  
 

  
 
 
 
 

 
 
 

 
 
 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-42190) Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory

2017-03-16 Thread aziz....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aziz Baibabaev commented on  JENKINS-42190  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory   
 

  
 
 
 
 

 
 +1 on 2.1.1   Bitbucket Server: 4.3.1  
 

  
 
 
 
 

 
 
 

 
 
 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-42190) Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory

2017-03-16 Thread metin.os...@canal-plus.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Metin OSMAN commented on  JENKINS-42190  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory   
 

  
 
 
 
 

 
 +1 also, works with 2.0.2, not with 2.1.0 Bitbucket Server version : 4.12.0  
 

  
 
 
 
 

 
 
 

 
 
 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-42190) Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory

2017-03-13 Thread koller...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 koller b commented on  JENKINS-42190  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory   
 

  
 
 
 
 

 
 +1 the same thing here at 2.1.1 and 2.1.0 versions.  
 

  
 
 
 
 

 
 
 

 
 
 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-42190) Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory

2017-03-09 Thread bjornmagnusson1...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Björn Magnusson commented on  JENKINS-42190  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory   
 

  
 
 
 
 

 
 +1, experiencing same thing, worked in 1.9 not with 2.1.0  
 

  
 
 
 
 

 
 
 

 
 
 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-42190) Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory

2017-03-02 Thread josh_mars...@partech.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Marston commented on  JENKINS-42190  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory   
 

  
 
 
 
 

 
 +1 On this, we updated and are experiencing the same issue.  
 

  
 
 
 
 

 
 
 

 
 
 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-42190) Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory

2017-03-01 Thread jonathan.vander...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jonathan Vanderick edited a comment on  JENKINS-42190  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory   
 

  
 
 
 
 

 
 I have tested up to version 2.0.2 succesfully  (and have reverted to that version) . This fails with version 2.1.0.It seems like the plugin is stripping anything beyond the hostname  :  from the "Bitbucket Server URL" Parameter (in the "Advanced" Section), but as mentionned only for the clone operations. http://my.hostname.org/stash resolves to http://my.hostname.org/http://my.hostname.org/stash/stashagain resolves to http://my.hostname.org/   
 

  
 
 
 
 

 
 
 

 
 
 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-42190) Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory

2017-03-01 Thread jonathan.vander...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jonathan Vanderick commented on  JENKINS-42190  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory   
 

  
 
 
 
 

 
 I have tested up to version 2.0.2 succesfully. This fails with version 2.1.0. It seems like the plugin is stripping anything beyond the hostname : http://my.hostname.org/stash resolves to http://my.hostname.org/ http://my.hostname.org/stash/stashagain resolves to http://my.hostname.org/  
 

  
 
 
 
 

 
 
 

 
 
 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-42190) Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory

2017-02-20 Thread doub...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Anton Markelov updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42190  
 
 
  Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory   
 

  
 
 
 
 

 
Change By: 
 Anton Markelov  
 

  
 
 
 
 

 
 Our Bitbucket Server located in subdirectory: https://company.com/bitbucketRepositories available for cloning, e.g. via URLs ssh://g...@company.com:7999/prj/repository.git and https://u...@company.com/bitbucket/scm/prj/repository.gitJenkins successfully adding Organization Folders and Multibranch Pipelines (in Organization Folder  settings  server URL added with subfolder), but cannot clone project repositories, because wrong repo URLs was generated:{code:java} > git fetch --tags --progress https://company.com/scm/prj/repository.git +refs/heads/masterERROR: Error fetching remote repo 'origin'hudson.plugins.git.GitException: Failed to fetch from https://company.com/scm/prj/repository.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:806) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1066) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1097) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:108) at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:85) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:232) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:405)Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress https://company.com/scm/prj/repository.git +refs/heads/master" returned status code 128:stdout: stderr: fatal: repository 'https://company.com/scm/prj/repository.git/' not found at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1784) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1513) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:804) ... 8 moreERROR: null{code}Expected results: Jenkins should clone https://company.com/bitbucket/scm/prj/repository.git/ instead of https://company.com/scm/prj/repository.git/P.S. Bitbucket Branch Source Plugin 1.9 works as expected.  
 

  
 
 
 
 

 
 
 


[JIRA] (JENKINS-42190) Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory

2017-02-20 Thread doub...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Anton Markelov created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42190  
 
 
  Bitbucket branch source plugin creates wrong repo URL's for Bitbucket Server located in subdirectory   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Antonio Muñiz  
 
 
Components: 
 bitbucket-branch-source-plugin  
 
 
Created: 
 2017/Feb/20 9:20 AM  
 
 
Environment: 
 Jenkins 2.47  Bitbucket Branch Source Plugin 2.1.0  Bitbucket Server 4.8.5  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Anton Markelov  
 

  
 
 
 
 

 
 Our Bitbucket Server located in subdirectory: https://company.com/bitbucket Repositories available for cloning, e.g. via URLs ssh://g...@company.com:7999/prj/repository.git and https://u...@company.com/bitbucket/scm/prj/repository.git Jenkins successfully adding Organization Folders and Multibranch Pipelines (in Organization Folder server URL added with subfolder), but cannot clone project repositories, because wrong repo URLs was generated: 

 

 > git fetch --tags --progress https://company.com/scm/prj/repository.git +refs/heads/master
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://company.com/scm/prj/repository.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:806)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1066)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1097)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
	at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:108)
	at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:85)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:232