Skip to content

Commit

Permalink
Parse files that start with Jenkinsfile as Groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Nov 21, 2023
1 parent bc98ea0 commit 7ed7222
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public Stream<SourceFile> parseInputs(Iterable<Input> sources, @Nullable Path re
@Override
public boolean accept(Path path) {
return path.toString().endsWith(".groovy") ||
path.toFile().getName().equals("Jenkinsfile");
path.toFile().getName().startsWith("Jenkinsfile");
}

@Override
Expand Down

0 comments on commit 7ed7222

Please sign in to comment.