Skip to content

Commit

Permalink
Merge pull request #2 from paypay/fix_alm_repo
Browse files Browse the repository at this point in the history
Fix alm repo
  • Loading branch information
akibabu authored Apr 6, 2022
2 parents ed0613a + c39bbce commit 4f45fe7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.8.1-paypay
version=1.8.2-paypay
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ public void finished(Context context) {
ProjectAlmSettingDto projectAlmSettingDto = new ProjectAlmSettingDto();
Optional<AlmSettingDto> optionalAlmSettingDto;
try (DbSession dbSession = dbClient.openSession(false)) {

projectAlmSettingDto.setAlmRepo("Pay-Baymax/" + projectAnalysis.getProject().getKey());
projectAlmSettingDto.setAlmRepo(projectAnalysis.getScannerContext().getProperties().getOrDefault(
"sonar.pullrequest.github.repository", "Pay-Baymax/" + projectAnalysis.getProject().getKey()));
projectAlmSettingDto.setAlmSettingUuid("AXxy3BubdvWBwkcdvIfk");
projectAlmSettingDto.setAlmSlug("");
projectAlmSettingDto.setProjectUuid(projectAnalysis.getProject().getUuid());
Expand Down

0 comments on commit 4f45fe7

Please sign in to comment.