We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 806112b commit 7c57506Copy full SHA for 7c57506
src/main/java/io/jenkins/plugins/gitlabbranchsource/GitLabSCMSource.java
@@ -201,6 +201,8 @@ protected Project getGitlabProject(GitLabApi gitLabApi) {
201
if (gitlabProject == null) {
202
try {
203
gitlabProject = gitLabApi.getProjectApi().getProject(projectPath);
204
+ sshRemote = gitlabProject.getSshUrlToRepo();
205
+ httpRemote = gitlabProject.getHttpUrlToRepo();
206
} catch (GitLabApiException e) {
207
throw new IllegalStateException("Failed to retrieve project " + projectPath, e);
208
}
0 commit comments