mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
35 lines
970 B
Markdown
35 lines
970 B
Markdown
# ${docGenStepName}
|
|
|
|
## ${docGenDescription}
|
|
|
|
## Prerequisites
|
|
|
|
While using a custom docker file, ensure that the following tools are installed:
|
|
|
|
* **SAP MTA Archive Builder 1.0.6 or compatible version** - can be downloaded from [SAP Development Tools](https://tools.hana.ondemand.com/#cloud).
|
|
* **Java 8 or compatible version** - necessary to run the *MTA Archive Builder* itself and to build Java modules.
|
|
* **NodeJS installed** - the MTA Builder uses `npm` to download node module dependencies such as `grunt`.
|
|
|
|
## ${docGenParameters}
|
|
|
|
## ${docGenConfiguration}
|
|
|
|
## Side effects
|
|
|
|
1. The file name of the resulting archive is written to the `commonPipelineEnvironment` with variable name `mtarFileName`.
|
|
|
|
## Exceptions
|
|
|
|
* `AbortException`:
|
|
* If there is an invalid `buildTarget`.
|
|
* If there is no key `ID` inside the `mta.yaml` file.
|
|
|
|
## Example
|
|
|
|
```groovy
|
|
def mtarFileName
|
|
dir('/path/to/FioriApp'){
|
|
mtarFileName = mtaBuild script:this, buildTarget: 'NEO'
|
|
}
|
|
```
|