Skip to Content
0
Nov 27, 2020 at 09:15 PM

Project piper on CAP failing for mbt error

378 Views Last edit Nov 27, 2020 at 09:17 PM 2 rev

Hi All,

I have a MTA created in Cf trial account and it works fine.

I am trying to build a pipeline using piper but it fails in the build phase as it's not able to find the mbt.

The error was: *** hudson.AbortException: [mtaBuild] Step execution failed (category: build). Error: running command 'mbt' failed: starting command failed: exec: "mbt": executable file not found in $PATH ***

I have installed mbt thorough terminal in workspace using npm command but no luck.

I am providing the link which I have followed for jenkinsfile and config.yml though I have used web applications studio for the CAP.

https://sap.github.io/jenkins-library/scenarios/CAP_Scenario/

P.S. my Jenkins server is on KS8 instance