mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
30 lines
834 B
YAML
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
|