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