Skip to content

Commit

Permalink
Merge pull request #341 from AngryGami/master
Browse files Browse the repository at this point in the history
[JENKINS-38669] (2/3) `CpsScmFlowDefinition.getSCMs`
  • Loading branch information
jglick authored Dec 4, 2023
2 parents c3031ab + ce46777 commit d20b7e2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import java.io.IOException;
import java.io.InterruptedIOException;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import jenkins.model.Jenkins;
import jenkins.scm.api.SCMFileSystem;
Expand Down Expand Up @@ -85,6 +86,11 @@ public SCM getScm() {
return scm;
}

@Override
public Collection<? extends SCM> getSCMs() {
return Collections.singletonList(scm);
}

public String getScriptPath() {
return scriptPath;
}
Expand Down

0 comments on commit d20b7e2

Please sign in to comment.