Skip to content

Commit bbeaebf

Browse files
committed
Make extension optional so it will be easier to delete the API later
1 parent eb116e1 commit bbeaebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jenkinsci/plugins/docker/workflow/declarative/AbstractDockerAgent.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public boolean isAllowed(String groovyResourceUrl) {
142142
}
143143
}
144144

145-
@Extension public static final class Compat implements CompatibilityLoader {
145+
@Extension(optional = true) public static final class Compat implements CompatibilityLoader {
146146
private static final Set<String> CLASSES = Set.of(
147147
"org.jenkinsci.plugins.docker.workflow.declarative.AbstractDockerPipelineScript",
148148
"org.jenkinsci.plugins.docker.workflow.declarative.DockerPipelineScript",

0 commit comments

Comments
 (0)