2021-12-22 16:34:36 +02:00
|
|
|
metadata:
|
|
|
|
name: gradleExecuteBuild
|
|
|
|
description: This step runs a gradle build command with parameters provided to the step.
|
|
|
|
longDescription: This step runs a gradle build command with parameters provided to the step.
|
|
|
|
spec:
|
|
|
|
inputs:
|
|
|
|
params:
|
|
|
|
- name: path
|
|
|
|
aliases:
|
|
|
|
- name: buildGradlePath
|
|
|
|
deprecated: false
|
|
|
|
type: string
|
2022-03-21 11:17:03 +02:00
|
|
|
description: Path to the folder with build.gradle (or build.gradle.kts) file which should be executed.
|
2021-12-22 16:34:36 +02:00
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
2022-01-24 16:08:39 +02:00
|
|
|
- STAGES
|
2021-12-22 16:34:36 +02:00
|
|
|
- STEPS
|
|
|
|
mandatory: false
|
|
|
|
- name: task
|
|
|
|
type: string
|
|
|
|
description: Gradle task that should be executed.
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
mandatory: false
|
|
|
|
default: build
|
2022-03-21 11:17:03 +02:00
|
|
|
- name: createBOM
|
|
|
|
type: bool
|
|
|
|
description: Creates the bill of materials (BOM) using CycloneDX plugin.
|
|
|
|
scope:
|
|
|
|
- GENERAL
|
|
|
|
- STEPS
|
|
|
|
- STAGES
|
|
|
|
- PARAMETERS
|
|
|
|
outputs:
|
|
|
|
resources:
|
|
|
|
- name: reports
|
|
|
|
type: reports
|
|
|
|
params:
|
|
|
|
- filePattern: "**/bom.xml"
|
|
|
|
type: sbom
|
2021-12-22 16:34:36 +02:00
|
|
|
containers:
|
|
|
|
- name: gradle
|
2022-01-28 16:58:01 +02:00
|
|
|
image: gradle:6-jdk11-alpine
|