Skip to content

Commit

Permalink
Fix clone anbiguity issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cdelmonte-zg committed Oct 29, 2024
1 parent cd61edc commit 9900784
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ private void scheduleJob(
5,
new CauseAction(cause),
bitbucketAction,
new RevisionParameterAction(bitbucketAction.getLatestCommit()));
new RevisionParameterAction(
bitbucketAction.getLatestCommit(),
new URIish(bitbucketAction.getScmUrls().get(0))));

Check warning on line 247 in src/main/java/io/jenkins/plugins/bitbucketpushandpullrequest/BitBucketPPRTrigger.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered lines

Lines 246-247 are not covered by tests

logger.info(String.format("Commit passed to git: %s", bitbucketAction.getLatestCommit()));

Expand Down

0 comments on commit 9900784

Please sign in to comment.