Skip to content

Commit

Permalink
fix classpath repo export
Browse files Browse the repository at this point in the history
  • Loading branch information
amithkb committed Jan 4, 2025
1 parent 0a60739 commit 11b7ade
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ private void onStatusChange(UUID instanceId, StatusEnum status) {
}

private void fetchRepo(JobRequest r) throws Exception {
if (r.getRepoUrl() == null || (r.getCommitId() == null && r.getRepoBranch() == null)) {
if (r.getRepoUrl() == null
|| (r.getCommitId() == null && r.getRepoBranch() == null)
|| r.getRepoUrl().startsWith("classpath://")) {
return;
}

Expand Down

0 comments on commit 11b7ade

Please sign in to comment.