1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/resources/metadata/gradleExecuteBuild.yaml
Eugene Kortelyov da450c5243
feat(gradleExecuteBuild): add stage scope to path parameter, fix project dir exist issue (#3401)
* add stage scope to path parameter, fix project dir exist issue

* fix unit test for gradleExecuteBuild

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2022-01-24 15:08:39 +01:00

31 lines
853 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:4.7.0-jdk8-alpine