Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Commit 1249199

Browse files
committed
push fails with HTTPS
1 parent f39a47f commit 1249199

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/kohsuke/github/LifecycleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void testCreateRepository() throws IOException, GitAPIException, Interrup
4141
delete(repoDir);
4242
Git origin = Git.cloneRepository()
4343
.setBare(false)
44-
.setURI(repository.gitHttpTransportUrl())
44+
.setURI(repository.getSshUrl())
4545
.setDirectory(repoDir)
4646
.setCredentialsProvider(getCredentialsProvider(myself))
4747
.call();

0 commit comments

Comments
 (0)