Object MvnJob
-
- All Implemented Interfaces:
public class MvnJob
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMvnJob.MvnJobBuilderpublic final classMvnJob.MvnwJobBuilder
-
Method Summary
Modifier and Type Method Description final UnitmvnJob(PipelineBuilder $self, String name, String cmd, Function1<JobBuilder, Unit> setup)Creates a maven based job. final UnitmvnwJob(PipelineBuilder $self, String name, String cmd, Function1<JobBuilder, Unit> setup)Creates a maven based job and uses the project local maven wrapper to execute goals. final Stringmvnw(String command)final Stringmvn(String command)final CachegetMvnCache()-
-
Method Detail
-
mvnJob
final Unit mvnJob(PipelineBuilder $self, String name, String cmd, Function1<JobBuilder, Unit> setup)
-
mvnwJob
final Unit mvnwJob(PipelineBuilder $self, String name, String cmd, Function1<JobBuilder, Unit> setup)
Creates a maven based job and uses the project local maven wrapper to execute goals.
Via cmd you can define the maven command to run. All executed commands with this job will cache (pull-push) the maven repository automatically. Standard image to be used is: eclipse-temurin:17.0.7_7-jdk
Can be customized with setup.
-
getMvnCache
final Cache getMvnCache()
-
-
-
-