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/maven.yaml
2020-02-28 13:09:46 +01:00

69 lines
2.0 KiB
YAML

metadata:
name: mavenExecute
description: This step allows to run maven commands
longDescription: |
This step runs a maven command based on the parameters provided to the step.
spec:
inputs:
params:
- name: pomPath
type: string
description: Path to the pom file that should be used.
scope:
- PARAMETERS
- STEPS
mandatory: false
- name: projectSettingsFile
type: string
description: Path to the mvn settings file that should be used as project settings file.
scope:
- PARAMETERS
- STEPS
mandatory: false
- name: globalSettingsFile
type: string
description: Path to the mvn settings file that should be used as global settings file.
scope:
- PARAMETERS
- STEPS
mandatory: false
- name: m2Path
type: string
description: Path to the location of the local repository that should be used.
scope:
- PARAMETERS
- STEPS
mandatory: false
- name: goals
type: "[]string"
description: Maven goals that should be executed.
scope:
- PARAMETERS
mandatory: true
- name: defines
type: "[]string"
description: Additional properties in form of -Dkey=value.
scope:
- PARAMETERS
mandatory: false
- name: flags
type: "[]string"
description: Flags to provide when running mvn.
scope:
- PARAMETERS
- STEPS
mandatory: false
- name: logSuccessfulMavenTransfers
type: bool
description: Configures maven to log successful downloads. This is set to `false` by default to reduce the noise in build logs.
scope:
- PARAMETERS
default: false
mandatory: false
- name: returnStdout
type: bool
description: Returns the output of the maven command for further processing.
scope:
- PARAMETERS
default: false