Skip to content

Commit

Permalink
older build can potentially have sshRemote and httpRemote unsaved due…
Browse files Browse the repository at this point in the history
… to previous transient field.
  • Loading branch information
jetersen committed Apr 3, 2020
1 parent 806112b commit 7c57506
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ protected Project getGitlabProject(GitLabApi gitLabApi) {
if (gitlabProject == null) {
try {
gitlabProject = gitLabApi.getProjectApi().getProject(projectPath);
sshRemote = gitlabProject.getSshUrlToRepo();
httpRemote = gitlabProject.getHttpUrlToRepo();
} catch (GitLabApiException e) {
throw new IllegalStateException("Failed to retrieve project " + projectPath, e);
}
Expand Down

0 comments on commit 7c57506

Please sign in to comment.