mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
91420e02ff
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
31 lines
850 B
YAML
31 lines
850 B
YAML
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
|
|
description: Path to the folder with gradle.build file which should be executed.
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
mandatory: false
|
|
- name: task
|
|
type: string
|
|
description: Gradle task that should be executed.
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
mandatory: false
|
|
default: build
|
|
containers:
|
|
- name: gradle
|
|
image: gradle:6-jdk11-alpine
|