Create Java project with Maven archetype scripted-pipeline

Uses the Jenkins Pipeline Unit mock library to test the logic inside a Pipeline script.

Create a Java Project by archetype scripted-pipeline with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DgroupId="My-groupId"   -Dpackage="My-package"   -DarchetypeGroupId="io.jenkins.archetypes"   -DarchetypeArtifactId="scripted-pipeline"   -DarchetypeVersion="1.11"   -DinteractiveMode=false 

Required parameters for generate java project:

groupId
validationRegex: none
package
validationRegex: none

Details about maven archetype scripted-pipeline

License

License

GroupId

GroupId

io.jenkins.archetypes
ArtifactId

ArtifactId

scripted-pipeline
Version

Version

1.11
Type

Type

maven-archetype
Description

Description

Scripted Jenkins Pipeline
Uses the Jenkins Pipeline Unit mock library to test the logic inside a Pipeline script.

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=io.jenkins.archetypes -DarchetypeArtifactId=scripted-pipeline -DarchetypeVersion=1.11 -DinteractiveMode=false

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.