on 2019 Nov 08 5:13 PM
When an MTA Build is initiated in Web IDE Full-Stack, it triggers the script webide_mta_build.sh
Before running the MTA Builder, it's clear this script does additional pre-processing e.g. generate name of mtar from <mtaname>_<mtaversion>.mtar
Can SAP please share the content of script webide_mta_build.sh as I'd like to optimise a Jenkins build job to closely match the outcome of a build initiated in Web IDE Full-Stack.
Many thanks
Mike
Hi Mike,
We cannot share the script as it's an internal implementation of the flow in Web IDE Full-Stack.
But I can assure you that most of its content is not relevant for pipelines - it takes care of running MTA build process in the SAP internal landscapes (e.g. allow access to the SAP artifacts repositories like npm registry) or processes MBT tool errors to properly present them in the Web IDE console.
You can implement the part of the script logic related to the mta archive name (<mtaname>_<mtaversion>.mtar), the target platform (e.g.Cloud Foundry) and the folder where the archive is generated using the tool's command line parameters (for example):
java -jar mta.jar --build-target=CF –-mtar=./mta_archives/<mtaname>_<mtaversion>.mtar build
Regards
Natalia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
11 | |
10 | |
10 | |
9 | |
8 | |
6 | |
6 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.