-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from entfrickler/sshgit
[FIXED JENKINS-28877] remove /scm before GitStatus.looselyMatches to match …
- Loading branch information
Showing
3 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0316730
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @fbelzunc,
this fix works as long as bitbucket is on the root of the webserver. In our setup, we have bitbucket at /bitbucket, so the URL for the repository is like /bitbucket/**scm/project/repo.git
Is it possible to remove /scm part in the path? I guess if the componentes are always like:
/path/to/bitbucket/root/scm/project/repo.git
It could be checked if the component at [len - 2] == scm, then remove that component.
Regards.