Child pages
  • Spring Initializr Plugin

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Table of Contents

Plugin spring-initializr-plugin

Wiki Markup
{jenkins-plugin-info:spring-initializr}


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

Code Block
languagegroovy
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.