1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-04 04:07:16 +02:00
sap-jenkins-library/resources/metadata/gradleExecuteBuild.yaml
Eugene Kortelyov 4d787ded6d
gradleExecuteBuild initial commit (#3337)
* gradleExecuteBuild initial commit

* fmt fixes for metadata_generated

* flow updates, some tests were added

* add gradle path alias, add stage scope to task parameter

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-12-22 15:34:36 +01:00

30 lines
834 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
- 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:4.7.0-jdk8-alpine