Skip to Content

Can you share content of Web IDE Full-Stack build script webide_mta_build.sh?

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 10, 2019 at 08:04 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.