Jenkins : Spring Initializr Plugin

Plugin spring-initializr-plugin

Plugin Information

No information for the plugin 'spring-initializr' is available. It may have been removed from distribution.


Add build parameter to be able to select spring dependencies (Spring Initalzr, http://start.spring.io)

Get started

  1. Make you build Parametrized
  2. Add Spring boot libraries parameter
  3. Build it with parameters
  4. Now create Pipeline Job that generates spring boot application. Use springBoot pipeline step

springBoot pipeline step

springBoot <name>: <value>, <name>: <value>, ...  
ParameterDefault ValueDesciption
selectedIDs 
<empty>Comma separated id from sprig boot libraries plugin
type
maven-projectmaven-project, gradle-project
bootVersion 
1.5.3.RELEASE1.3.8.RELEASE, 1.4.6.RELEASE,1.5.3.RELEASE
groupId ru.ts.psb.cloud<groupId>
artifactId
demo<artifactId>
packageName
<groupId>.<artifactId>package of main class
description
<empty>content of <description> tag of pom.xml
packaging
jarjar, war
javaVersion
1.81.6, 1.7, 1.8
language
javajava, groovy, kotlin
autocomplete
<empty>Not sure what does it used for.