cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ci/cd deployment build failed

reddyv
Explorer
0 Likes
1,020

Hi Experts,

Can anyone help me with the below error

ERROR: [mtaBuild] Step execution failed (category: undefined). Error: 'mta.yaml' not found in project sources and 'applicationName' not provided as parameter - cannot generate 'mta.yaml' file

Build Logs (fruits #19)
Started by direct user action
Resume disabled by user, switching to high-performance, low-durability mode.
[Pipeline] Start of Pipeline
[Pipeline] library
Loading library piper-lib-os@v1.403.0
Attempting to resolve v1.403.0 from remote references...
 > git --version # timeout=10
 > git --version # 'git version 2.45.2'
 > git ls-remote -- https://github.com/SAP/jenkins-library.git # timeout=10
Found match: refs/tags/v1.403.0 revision 364238f1541540bb2e135b56a87ad9962acd649c
Resolving tag commit... (remote references may be a lightweight tag or an annotated tag)
Creating git repository in /jenkins_home/caches/git-45f8e847db940b081a749755f5ba88e0
 > git init /jenkins_home/caches/git-45f8e847db940b081a749755f5ba88e0 # timeout=10
Setting origin to https://github.com/SAP/jenkins-library.git
 > git config remote.origin.url https://github.com/SAP/jenkins-library.git # timeout=10
Fetching origin...
Fetching upstream changes from origin
 > git --version # timeout=10
 > git --version # 'git version 2.45.2'
 > git config --get remote.origin.url # timeout=10
 > git fetch --tags --force --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/tags/v1.403.0^{commit} # timeout=10
Resolved tag v1.403.0 revision 364238f1541540bb2e135b56a87ad9962acd649c
The recommended git tool is: git
No credentials specified
Cloning the remote Git repository
Cloning with configured refspecs honoured and with tags
Cloning repository https://github.com/SAP/jenkins-library.git
 > git init /jenkins_home/workspace/fruits@libs/e8d26b2abb93ac0812b8a81040340a27c7ec9deffaef1ce28ba0dc30b21c27e5 # timeout=10
Fetching upstream changes from https://github.com/SAP/jenkins-library.git
 > git --version # timeout=10
 > git --version # 'git version 2.45.2'
 > git fetch --tags --force --progress -- https://github.com/SAP/jenkins-library.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/SAP/jenkins-library.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision 364238f1541540bb2e135b56a87ad9962acd649c (v1.403.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 364238f1541540bb2e135b56a87ad9962acd649c # timeout=10
Commit message: "handle error while fetching working directory (#5168)"
First time build. Skipping changelog.
[Pipeline] library
Loading library cloudci-lib@v4.7.0
Attempting to resolve v4.7.0 from remote references...
 > git --version # timeout=10
 > git --version # 'git version 2.45.2'
 > git ls-remote -- http://cloudci-git-mirror.cloudci-git-mirror.svc.cluster.local/git/cloudci/pipeline-lib.git # timeout=10
Found match: refs/tags/v4.7.0 revision 6542a87a2af31755b99f5e853c4dacab9769ca27
Resolving tag commit... (remote references may be a lightweight tag or an annotated tag)
Creating git repository in /jenkins_home/caches/git-b339b888659ec5714c76821992280a0e
 > git init /jenkins_home/caches/git-b339b888659ec5714c76821992280a0e # timeout=10
Setting origin to http://cloudci-git-mirror.cloudci-git-mirror.svc.cluster.local/git/cloudci/pipeline-lib.git
 > git config remote.origin.url http://cloudci-git-mirror.cloudci-git-mirror.svc.cluster.local/git/cloudci/pipeline-lib.git # timeout=10
Fetching origin...
Fetching upstream changes from origin
 > git --version # timeout=10
 > git --version # 'git version 2.45.2'
 > git config --get remote.origin.url # timeout=10
 > git fetch --tags --force --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/tags/v4.7.0^{commit} # timeout=10
Resolved tag v4.7.0 revision 6542a87a2af31755b99f5e853c4dacab9769ca27
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning with configured refspecs honoured and with tags
Cloning repository http://cloudci-git-mirror.cloudci-git-mirror.svc.cluster.local/git/cloudci/pipeline-lib.git
 > git init /jenkins_home/workspace/fruits@libs/6d4311b5453c7045963a824fe7a1ae2d1efd853e23990e74c7648494558625bc # timeout=10
Fetching upstream changes from http://cloudci-git-mirror.cloudci-git-mirror.svc.cluster.local/git/cloudci/pipeline-lib.git
 > git --version # timeout=10
 > git --version # 'git version 2.45.2'
 > git fetch --tags --force --progress -- http://cloudci-git-mirror.cloudci-git-mirror.svc.cluster.local/git/cloudci/pipeline-lib.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url http://cloudci-git-mirror.cloudci-git-mirror.svc.cluster.local/git/cloudci/pipeline-lib.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision 6542a87a2af31755b99f5e853c4dacab9769ca27 (v4.7.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 6542a87a2af31755b99f5e853c4dacab9769ca27 # timeout=10
Commit message: "chore(deps): update dockerimages-minor-patch-digest-updates (#447)"
First time build. Skipping changelog.
[Pipeline] node
Running on Jenkins in /jenkins_home/workspace/fruits
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Init)
[Pipeline] script
[Pipeline] {
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
[2024-11-29T10:46:09.839Z] Created Pod: kubernetes steward-run-59e8z-main-55m7c/fruits-19-hx583-vxnth-2g5g3
[2024-11-29T10:46:12.498Z] Agent fruits-19-hx583-vxnth-2g5g3 is provisioned from template fruits_19-hx583-vxnth
[2024-11-29T10:46:12.509Z] Running on fruits-19-hx583-vxnth-2g5g3 in /home/jenkins/agent/workspace/fruits
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] sh
[2024-11-29T10:46:13.518Z] + proxy-starter '-image=haproxy@sha256:ce0a582c7e21309e15f221c032ccdd06391339f45a673f3a2081513b934fe2cc' '-v=0'
[2024-11-29T10:46:13.519Z] I1129 10:46:13.221648      20 proxystarter.go:74] No Cloud Connector secrets defined, no need for the proxy
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] readJSON
[Pipeline] checkout
[2024-11-29T10:46:13.938Z] The recommended git tool is: NONE
[2024-11-29T10:46:13.972Z] using credential github
[2024-11-29T10:46:14.024Z] Cloning the remote Git repository
[2024-11-29T10:46:14.029Z] Cloning repository https://github.com/kiranlingala12/fruits.git
[2024-11-29T10:46:14.030Z]  > git init /jenkins_home/workspace/fruits # timeout=10
[2024-11-29T10:46:14.042Z] Fetching upstream changes from https://github.com/kiranlingala12/fruits.git
[2024-11-29T10:46:14.042Z]  > git --version # timeout=10
[2024-11-29T10:46:14.049Z]  > git --version # 'git version 2.45.2'
[2024-11-29T10:46:14.050Z] using GIT_ASKPASS to set credentials 
[2024-11-29T10:46:14.058Z]  > git fetch --tags --force --progress -- https://github.com/kiranlingala12/fruits.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2024-11-29T10:46:14.271Z]  > git config remote.origin.url https://github.com/kiranlingala12/fruits.git # timeout=10
[2024-11-29T10:46:14.283Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2024-11-29T10:46:14.305Z] Avoid second fetch
[2024-11-29T10:46:14.307Z]  > git rev-parse origin/dev_branch^{commit} # timeout=10
[2024-11-29T10:46:14.342Z] Checking out Revision 3a60176ab47edf5b422d634bf17f2aecc6349364 (origin/dev_branch)
[2024-11-29T10:46:14.343Z]  > git config core.sparsecheckout # timeout=10
[2024-11-29T10:46:14.364Z]  > git checkout -f 3a60176ab47edf5b422d634bf17f2aecc6349364 # timeout=10
[2024-11-29T10:46:14.431Z] Commit message: "testing sravani"
[2024-11-29T10:46:14.434Z] First time build. Skipping changelog.
[Pipeline] libraryResource
[Pipeline] sh
[2024-11-29T10:46:14.852Z] INFO GIT_COMMIT_TO_BE_BUILT (dev_branch / 3a60176ab47edf5b422d634bf17f2aecc6349364) is reachable from the configured branch (dev_branch).
[Pipeline] sh
[2024-11-29T10:46:15.147Z] + git config -f .gitmodules --get-regexp ^submodule..+.url
[2024-11-29T10:46:15.147Z] + true
[Pipeline] echo
[2024-11-29T10:46:15.191Z] Writing pipeline configuration from UI/API to .pipeline/config.yml.
[Pipeline] writeFile
[Pipeline] fileExists
[Pipeline] echo
[2024-11-29T10:46:15.355Z] Using Job Editor Configuration Mode
[Pipeline] fileExists
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] libraryResource
[Pipeline] writeYaml
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] echo
[2024-11-29T10:46:18.163Z] INFO: found image 'devxci/mbtci-java11-node20@sha256:141f685dc9dc9cf27c60c6e8c2b5aab7d0a683de7d769abe2dd595ab5da95282' for imagePath 'buildToolImages.MBTJ11N20.buildTool'.
[Pipeline] echo
[2024-11-29T10:46:18.202Z] [INFO] using build-tool-image 'devxci/mbtci-java11-node20@sha256:141f685dc9dc9cf27c60c6e8c2b5aab7d0a683de7d769abe2dd595ab5da95282'.
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] echo
[2024-11-29T10:46:18.415Z] INFO: found image 'ppiper/node-browsers@sha256:0eac2b307a9b1349e26fe4fd2c8f83bc3306cf66b240f9410d47d91ef9849d89' for imagePath 'buildToolImages.MBTJ11N20.nodeBrowser'.
[Pipeline] echo
[2024-11-29T10:46:18.445Z] [INFO] using node-browser-image 'ppiper/node-browsers@sha256:0eac2b307a9b1349e26fe4fd2c8f83bc3306cf66b240f9410d47d91ef9849d89'.
[Pipeline] sh
[2024-11-29T10:46:18.840Z] + git rev-parse HEAD
[Pipeline] sh
[2024-11-29T10:46:19.893Z] + head -n 1
[2024-11-29T10:46:19.899Z] + git show -s --format=%B 3a60176ab47edf5b422d634bf17f2aecc6349364
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] writeYaml
[Pipeline] echo
[2024-11-29T10:46:21.736Z] Stash content: checkoutstash (includes: **/*, excludes: cloudcitransfer/**/*, allowEmpty: null)
[Pipeline] stash
[2024-11-29T10:46:21.825Z] Stashed 83 file(s)
[Pipeline] dir
[2024-11-29T10:46:21.851Z] Running in /jenkins_home/workspace/fruits/cloudcitransfer
[Pipeline] {
[Pipeline] writeFile
[Pipeline] writeFile
[Pipeline] }
[Pipeline] // dir
[Pipeline] echo
[2024-11-29T10:46:22.066Z] Stash content: cloudcitransfer (includes: cloudcitransfer/**/*, excludes: cloudcitransfer/**/node_modules/**, allowEmpty: true)
[Pipeline] stash
[2024-11-29T10:46:22.101Z] Stashed 2 file(s)
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] lock
[2024-11-29T10:46:30.399Z] Trying to acquire lock on [Resource: fruits/1]
[2024-11-29T10:46:30.420Z] Resource [fruits/1] did not exist. Created.
[2024-11-29T10:46:30.433Z] Lock acquired on [Resource: fruits/1]
[Pipeline] {
[Pipeline] milestone
[2024-11-29T10:46:30.513Z] Trying to pass milestone 1
[Pipeline] node
[2024-11-29T10:46:30.581Z] Running on Jenkins in /jenkins_home/workspace/fruits@2
[Pipeline] {
[Pipeline] deleteDir
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] echo
[2024-11-29T10:46:30.663Z] Unstash content: checkoutstash
[Pipeline] unstash
[Pipeline] echo
[2024-11-29T10:46:32.128Z] --- Begin library step of: setupCommonPipelineEnvironment ---
[Pipeline] fileExists
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] writeFile
[Pipeline] fileExists
[Pipeline] readFile
[Pipeline] writeFile
[Pipeline] fileExists
[Pipeline] readFile
[Pipeline] writeFile
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] echo
[2024-11-29T10:46:32.748Z] Loading configuration file '.pipeline/cicdCommonBaseDefaults.yml'
[Pipeline] readYaml
[Pipeline] echo
[2024-11-29T10:46:32.968Z] Loading configuration file '.pipeline/cicdPipelineSpecificDefaults.yml'
[Pipeline] readYaml
[Pipeline] echo
[2024-11-29T10:46:33.471Z] --- Begin library step of: piperLoadGlobalExtensions ---
[Pipeline] echo
[2024-11-29T10:46:33.630Z] --- End library step of: piperLoadGlobalExtensions ---
[Pipeline] echo
[2024-11-29T10:46:33.661Z] Stash content: pipelineConfigAndTests (includes: .pipeline/**, excludes: , useDefaultExcludes: true, allowEmpty: true)
[Pipeline] stash
[2024-11-29T10:46:33.694Z] Stashed 6 file(s)
[Pipeline] echo
[2024-11-29T10:46:33.880Z] --- End library step of: setupCommonPipelineEnvironment ---
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] writeFile
[Pipeline] sh
[2024-11-29T10:46:35.528Z] + '[' -x ./piper ]
[Pipeline] echo
[2024-11-29T10:46:35.550Z] Unstash content: piper-bin
[Pipeline] unstash
[Pipeline] echo
[2024-11-29T10:46:35.630Z] Unstash failed: piper-bin (No such saved stash ‘piper-bin’)
[Pipeline] sh
[2024-11-29T10:46:35.959Z] + curl --insecure --silent --retry 5 --retry-max-time 240 --location --write-out '%{http_code}' --output piper https://github.com/SAP/jenkins-library/releases/download/v1.403.0/piper
[Pipeline] sh
[2024-11-29T10:46:36.492Z] + chmod +x piper
[Pipeline] sh
[2024-11-29T10:46:36.771Z] + ./piper version
[2024-11-29T10:46:36.772Z] time="2024-11-29T10:46:36Z" level=info msg="Version 364238f1541540bb2e135b56a87ad9962acd649c" library=SAP/jenkins-library
[Pipeline] echo
[2024-11-29T10:46:36.795Z] Piper go binary version: piper-version:
[2024-11-29T10:46:36.796Z]     commit: "364238f1541540bb2e135b56a87ad9962acd649c"
[2024-11-29T10:46:36.796Z]     tag: "<n/a>"
[2024-11-29T10:46:36.797Z] 
[Pipeline] echo
[2024-11-29T10:46:36.834Z] Stash content: piper-bin (includes: piper, excludes: , useDefaultExcludes: true, allowEmpty: false)
[Pipeline] stash
[2024-11-29T10:46:41.807Z] Stashed 1 file(s)
[Pipeline] sh
[2024-11-29T10:46:42.103Z] + ./piper checkIfStepActive --stageConfig .pipeline/stage_conditions.yaml --useV1 --stageOutputFile .pipeline/stage_out.json --stepOutputFile .pipeline/step_out.json --stage _ --step _ --defaultConfig .pipeline/.pipeline/cicdCommonBaseDefaults.yml,.pipeline/.pipeline/cicdPipelineSpecificDefaults.yml --ignoreCustomDefaults
[2024-11-29T10:46:42.104Z] time="2024-11-29T10:46:42Z" level=info msg="Version 364238f1541540bb2e135b56a87ad9962acd649c" library=SAP/jenkins-library
[2024-11-29T10:46:42.105Z] time="2024-11-29T10:46:42Z" level=warning msg="Please do not use --useV1 flag since it is deprecated and will be removed in future releases" library=SAP/jenkins-library
[2024-11-29T10:46:42.105Z] time="2024-11-29T10:46:42Z" level=info msg="Project config: '.pipeline/config.yml'" library=SAP/jenkins-library
[2024-11-29T10:46:42.355Z] time="2024-11-29T10:46:42Z" level=info msg="Writing stage condition file .pipeline/stage_out.json" library=SAP/jenkins-library
[2024-11-29T10:46:42.357Z] time="2024-11-29T10:46:42Z" level=info msg="Writing step condition file .pipeline/step_out.json" library=SAP/jenkins-library
[Pipeline] readJSON
[Pipeline] readJSON
[Pipeline] echo
[2024-11-29T10:46:44.661Z] --- Begin library step of: pipelineStashFilesBeforeBuild ---
[Pipeline] echo
[2024-11-29T10:46:44.817Z] Stash content: buildDescriptor (includes: **/pom.xml, **/.mvn/**, **/assembly.xml, **/.swagger-codegen-ignore, **/package.json, **/requirements.txt, **/setup.py, **/mta*.y*ml, **/.npmrc, **/Dockerfile, .hadolint.yaml, **/VERSION, **/version.txt, **/Gopkg.*, **/dub.json, **/dub.sdl, **/build.sbt, **/sbtDescriptor.json, **/project/*, **/ui5.yaml, **/ui5.yml, excludes: **/node_modules/**/package.json, cloudcitransfer/**/*, useDefaultExcludes: true, allowEmpty: false)
[Pipeline] stash
[2024-11-29T10:46:44.840Z] Stashed 5 file(s)
[Pipeline] echo
[2024-11-29T10:46:44.852Z] Stash content: deployDescriptor (includes: **/manifest*.y*ml, **/*.mtaext.y*ml, **/*.mtaext, **/xs-app.json, helm/**, **/*.y*ml, **/*.tpl, **/*.tgz, excludes: cloudcitransfer/**/*, useDefaultExcludes: true, allowEmpty: false)
[Pipeline] stash
[2024-11-29T10:46:44.879Z] Stashed 13 file(s)
[Pipeline] echo
[2024-11-29T10:46:44.891Z] Stash content: git (includes: .git/**, excludes: cloudcitransfer/**/*, useDefaultExcludes: false, allowEmpty: false)
[Pipeline] stash
[2024-11-29T10:46:44.938Z] Stashed 27 file(s)
[Pipeline] echo
[2024-11-29T10:46:44.948Z] Stash content: opensourceConfiguration (includes: **/srcclr.yml, **/vulas-custom.properties, **/.nsprc, **/.retireignore, **/.retireignore.json, **/.snyk, **/wss-unified-agent.config, **/vendor/**/*, excludes: cloudcitransfer/**/*, useDefaultExcludes: true, allowEmpty: false)
[Pipeline] stash
[Pipeline] echo
[2024-11-29T10:46:44.981Z] [pipelineStashFilesBeforeBuild] no files detected for stash 'opensourceConfiguration': opensourceConfiguration (No files included in stash ‘opensourceConfiguration’)
[Pipeline] echo
[2024-11-29T10:46:45.000Z] Stash content: pipelineConfigAndTests (includes: .pipeline/**, excludes: cloudcitransfer/**/*, useDefaultExcludes: true, allowEmpty: false)
[Pipeline] stash
[2024-11-29T10:46:45.033Z] Warning: overwriting stash ‘pipelineConfigAndTests’
[2024-11-29T10:46:45.048Z] Stashed 9 file(s)
[Pipeline] echo
[2024-11-29T10:46:45.072Z] Stash content: securityDescriptor (includes: **/xs-security.json, excludes: cloudcitransfer/**/*, useDefaultExcludes: true, allowEmpty: false)
[Pipeline] stash
[2024-11-29T10:46:45.114Z] Stashed 1 file(s)
[Pipeline] echo
[2024-11-29T10:46:45.136Z] Stash content: tests (includes: **/pom.xml, **/*.json, **/*.xml, **/src/**, **/node_modules/**, **/specs/**, **/env/**, **/*.js, **/tests/**, **/*.html, **/*.css, **/*.properties, **/*.cds, excludes: cloudcitransfer/**/*, useDefaultExcludes: true, allowEmpty: false)
[Pipeline] stash
[2024-11-29T10:46:45.227Z] Stashed 38 file(s)
[Pipeline] echo
[2024-11-29T10:46:45.263Z] Stash content: checkmarx (includes: **/*.js, **/*.scala, **/*.py, **/*.go, **/*.xml, **/*.html, **/*.d, **/*.di, **/*.ts, excludes: **/*.mockserver.js, node_modules/**/*.js, cloudcitransfer/**/*, useDefaultExcludes: true, allowEmpty: false)
[Pipeline] stash
[2024-11-29T10:46:45.319Z] Stashed 14 file(s)
[Pipeline] echo
[2024-11-29T10:46:45.340Z] Stash content: checkmarxOne (includes: **/*.js, **/*.scala, **/*.py, **/*.go, **/*.xml, **/*.html, **/*.d, **/*.di, **/*.ts, excludes: **/*.mockserver.js, node_modules/**/*.js, cloudcitransfer/**/*, useDefaultExcludes: true, allowEmpty: false)
[Pipeline] stash
[2024-11-29T10:46:45.376Z] Stashed 14 file(s)
[Pipeline] echo
[2024-11-29T10:46:45.387Z] --- End library step of: pipelineStashFilesBeforeBuild ---
[Pipeline] echo
[2024-11-29T10:46:45.418Z] Stash content: source (includes: **/*, excludes: .pipeline/**)
[Pipeline] stash
[2024-11-29T10:46:49.250Z] Stashed 53 file(s)
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[2024-11-29T10:46:49.333Z] Lock released on resource [Resource: fruits/1]
[Pipeline] // lock
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] writeJSON
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withCredentials
[Pipeline] {
[Pipeline] echo
[2024-11-29T10:46:49.850Z] [INFO] No runFirst command defined for current stage (Build). Will not execute additional commands step
[Pipeline] lock
[2024-11-29T10:46:50.220Z] Trying to acquire lock on [Resource: fruits]
[2024-11-29T10:46:50.227Z] Resource [fruits] did not exist. Created.
[2024-11-29T10:46:50.230Z] Lock acquired on [Resource: fruits]
[Pipeline] {
[Pipeline] node
[2024-11-29T10:46:50.270Z] Running on Jenkins in /jenkins_home/workspace/fruits@2
[Pipeline] {
[Pipeline] deleteDir
[Pipeline] echo
[2024-11-29T10:46:50.327Z] Unstash content: pipelineConfigAndTests
[Pipeline] unstash
[Pipeline] echo
[2024-11-29T10:46:50.368Z] Unstash content: source
[Pipeline] unstash
[Pipeline] echo
[2024-11-29T10:46:50.933Z] Unstash content: cloudcitransfer
[Pipeline] unstash
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] echo
[2024-11-29T10:46:51.681Z] --- Begin library step of: buildExecute ---
[Pipeline] echo
[2024-11-29T10:46:52.441Z] --- Begin library step of: mtaBuild ---
[Pipeline] sh
[2024-11-29T10:46:52.742Z] + '[' -x ./piper ]
[Pipeline] echo
[2024-11-29T10:46:52.776Z] Found piper binary in the workspace - skipping unstash
[Pipeline] echo
[2024-11-29T10:46:52.828Z] Unstash content: pipelineConfigAndTests
[Pipeline] unstash
[Pipeline] libraryResource
[Pipeline] writeFile
[Pipeline] echo
[2024-11-29T10:46:53.001Z] Step params [:]
[Pipeline] withEnv
[Pipeline] {
[Pipeline] echo
[2024-11-29T10:46:53.112Z] PIPER_parametersJSON: {}
[Pipeline] sh
[2024-11-29T10:46:53.422Z] + ./piper getConfig --contextConfig --stepMetadata .pipeline/tmp/metadata/mtaBuild.yaml --defaultConfig .pipeline/.pipeline/cicdCommonBaseDefaults.yml,.pipeline/.pipeline/cicdPipelineSpecificDefaults.yml --ignoreCustomDefaults
[2024-11-29T10:46:53.422Z] time="2024-11-29T10:46:53Z" level=info msg="Version 364238f1541540bb2e135b56a87ad9962acd649c" library=SAP/jenkins-library
[2024-11-29T10:46:53.422Z] time="2024-11-29T10:46:53Z" level=info msg="Printing stepName " library=SAP/jenkins-library
[Pipeline] readJSON
[Pipeline] echo
[2024-11-29T10:46:53.512Z] Context Config: [contextConfig:true, defaultConfig:[.pipeline/.pipeline/cicdCommonBaseDefaults.yml, .pipeline/.pipeline/cicdPipelineSpecificDefaults.yml], dockerImage:devxci/mbtci-java11-node20@sha256:141f685dc9dc9cf27c60c6e8c2b5aab7d0a683de7d769abe2dd595ab5da95282, ignoreCustomDefaults:true, stepMetadata:.pipeline/tmp/metadata/mtaBuild.yaml]
[Pipeline] echo
[2024-11-29T10:46:53.572Z] [INFO] executing pipeline step 'mtaBuild' with docker image 'devxci/mbtci-java11-node20@sha256:141f685dc9dc9cf27c60c6e8c2b5aab7d0a683de7d769abe2dd595ab5da95282'
[Pipeline] echo
[2024-11-29T10:46:54.506Z] --- Begin library step of: dockerExecute ---
[Pipeline] echo
[2024-11-29T10:46:55.605Z] --- Begin library step of: dockerExecuteOnKubernetes ---
[Pipeline] echo
[2024-11-29T10:46:55.850Z] Stash content: workspace-65c3ec26-11a0-4305-979a-67238d206016 (includes: **/*, excludes: nohup.out, useDefaultExcludes: true, allowEmpty: true)
[Pipeline] stash
[2024-11-29T10:47:00.566Z] Stashed 65 file(s)
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
[2024-11-29T10:47:03.118Z] Created Pod: kubernetes steward-run-59e8z-main-55m7c/dynamic-agent-65c3ec26-11a0-4305-979a-67238d206016-r1483-wqhpb
[2024-11-29T10:47:16.300Z] Still waiting to schedule task
[2024-11-29T10:47:16.301Z] Waiting for next available executor on ‘dynamic-agent-65c3ec26-11a0-4305-979a-67238d206016-r1483-wqhpb’
[2024-11-29T10:47:29.675Z] Agent dynamic-agent-65c3ec26-11a0-4305-979a-67238d206016-r1483-wqhpb is provisioned from template dynamic-agent-65c3ec26-11a0-4305-979a-67238d206016-r1483
[2024-11-29T10:47:29.679Z] Running on dynamic-agent-65c3ec26-11a0-4305-979a-67238d206016-r1483-wqhpb in /home/jenkins/agent/workspace/fruits
[Pipeline] {
[Pipeline] echo
[2024-11-29T10:47:29.724Z] ContainerConfig: [name:container-exec]
[Pipeline] container
[Pipeline] {
[Pipeline] echo
[2024-11-29T10:47:29.760Z] Unstash content: workspace-65c3ec26-11a0-4305-979a-67238d206016
[Pipeline] unstash
[Pipeline] echo
[2024-11-29T10:47:33.552Z] invalidate stash workspace-65c3ec26-11a0-4305-979a-67238d206016
[Pipeline] echo
[2024-11-29T10:47:33.587Z] Stash content: workspace-65c3ec26-11a0-4305-979a-67238d206016 (includes: **/*.*, excludes: **/*, useDefaultExcludes: true, allowEmpty: true)
[Pipeline] stash
[2024-11-29T10:47:33.620Z] Warning: overwriting stash ‘workspace-65c3ec26-11a0-4305-979a-67238d206016’
[2024-11-29T10:47:34.241Z] Stashed 0 file(s)
[Pipeline] echo
[2024-11-29T10:47:34.259Z] [INFO][dockerExecute] Executing inside a Kubernetes Pod. Docker image: devxci/mbtci-java11-node20@sha256:141f685dc9dc9cf27c60c6e8c2b5aab7d0a683de7d769abe2dd595ab5da95282
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
[2024-11-29T10:47:35.528Z] + ./piper writePipelineEnv
[2024-11-29T10:47:35.529Z] time="2024-11-29T10:47:35Z" level=info msg="Version 364238f1541540bb2e135b56a87ad9962acd649c" library=SAP/jenkins-library
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] echo
[2024-11-29T10:47:35.663Z] Unstash content: pipelineStepReports
[Pipeline] unstash
[Pipeline] echo
[2024-11-29T10:47:35.714Z] Unstash failed: pipelineStepReports (No such saved stash ‘pipelineStepReports’)
[Pipeline] withCredentials
[Pipeline] {
[Pipeline] sh
[2024-11-29T10:47:36.510Z] + ./piper mtaBuild --defaultConfig .pipeline/.pipeline/cicdCommonBaseDefaults.yml,.pipeline/.pipeline/cicdPipelineSpecificDefaults.yml --ignoreCustomDefaults
[2024-11-29T10:47:36.513Z] time="2024-11-29T10:47:36Z" level=info msg="Version 364238f1541540bb2e135b56a87ad9962acd649c" library=SAP/jenkins-library
[2024-11-29T10:47:36.514Z] info  mtaBuild - running command: npm config get registry -ws=false -iwr
[2024-11-29T10:47:36.780Z] info  mtaBuild - Discovered pre-configured npm registry registry with value https://registry.npmjs.org/
[2024-11-29T10:47:36.781Z] 
[2024-11-29T10:47:36.781Z] info  mtaBuild - "mta.yaml" file not found in project sources
[2024-11-29T10:47:36.781Z] info  mtaBuild - fatal error: errorDetails{"category":"undefined","correlationId":"n/a","error":"'mta.yaml' not found in project sources and 'applicationName' not provided as parameter - cannot generate 'mta.yaml' file","library":"SAP/jenkins-library","message":"failed to execute mta build","result":"failure","stepName":"mtaBuild","time":"2024-11-29T10:47:36.540982438Z"}
[2024-11-29T10:47:36.781Z] fatal mtaBuild - failed to execute mta build - 'mta.yaml' not found in project sources and 'applicationName' not provided as parameter - cannot generate 'mta.yaml' file
[2024-11-29T10:47:36.781Z] info  mtaBuild - persisting reports to GCS is disabled, because gcsBucketId is empty
[2024-11-29T10:47:36.782Z] info  mtaBuild - Step telemetry data:{"StepStartTime":"2024-11-29 10:47:36.340413537 +0000 UTC","PipelineURLHash":"50f013532a9770a2c2cfdc38b7581dd01df69b70","BuildURLHash":"50f013532a9770a2c2cfdc38b7581dd01df69b70","StageName":"Build","StepName":"mtaBuild","ErrorCode":"1","StepDuration":"201","ErrorCategory":"undefined","CorrelationID":"n/a","PiperCommitHash":"364238f1541540bb2e135b56a87ad9962acd649c","ErrorDetail":{"category":"undefined","correlationId":"n/a","error":"'mta.yaml' not found in project sources and 'applicationName' not provided as parameter - cannot generate 'mta.yaml' file","library":"SAP/jenkins-library","message":"failed to execute mta build","result":"failure","stepName":"mtaBuild","time":"2024-11-29T10:47:36.540982438Z"}}
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] fileExists
[Pipeline] fileExists
[Pipeline] sh
[2024-11-29T10:47:37.652Z] + ./piper readPipelineEnv
[2024-11-29T10:47:37.657Z] time="2024-11-29T10:47:37Z" level=info msg="Version 364238f1541540bb2e135b56a87ad9962acd649c" library=SAP/jenkins-library
[Pipeline] readJSON
[Pipeline] echo
[2024-11-29T10:47:37.751Z] Transfer Influx data
[Pipeline] findFiles
[Pipeline] echo
[2024-11-29T10:47:37.839Z] Stash content: pipelineStepReports (includes: .pipeline/stepReports/**, excludes: , useDefaultExcludes: true, allowEmpty: true)
[Pipeline] stash
[2024-11-29T10:47:37.899Z] Stashed 0 file(s)
[Pipeline] fileExists
[Pipeline] readJSON
[Pipeline] error
[Pipeline] sh
[Pipeline] echo
[2024-11-29T10:47:38.774Z] Stash content: container-65c3ec26-11a0-4305-979a-67238d206016 (includes: **/*, excludes: **/node_modules/**,nohup.out,.git/**, useDefaultExcludes: true, allowEmpty: true)
[Pipeline] stash
[2024-11-29T10:47:43.215Z] Stashed 73 file(s)
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] echo
[2024-11-29T10:47:43.646Z] Unstash content: container-65c3ec26-11a0-4305-979a-67238d206016
[Pipeline] unstash
[Pipeline] echo
[2024-11-29T10:47:44.439Z] invalidate stash container-65c3ec26-11a0-4305-979a-67238d206016
[Pipeline] echo
[2024-11-29T10:47:44.482Z] Stash content: container-65c3ec26-11a0-4305-979a-67238d206016 (includes: **/*.*, excludes: **/*, useDefaultExcludes: true, allowEmpty: true)
[Pipeline] stash
[2024-11-29T10:47:44.515Z] Warning: overwriting stash ‘container-65c3ec26-11a0-4305-979a-67238d206016’
[2024-11-29T10:47:44.527Z] Stashed 0 file(s)
[Pipeline] libraryResource
[Pipeline] echo
[2024-11-29T10:47:44.659Z] ----------------------------------------------------------
[2024-11-29T10:47:44.659Z] --- An error occurred in the library step: dockerExecuteOnKubernetes
[2024-11-29T10:47:44.659Z] ----------------------------------------------------------
[2024-11-29T10:47:44.659Z] 
[2024-11-29T10:47:44.659Z] The following parameters were available to the step:
[2024-11-29T10:47:44.659Z] ***
[2024-11-29T10:47:44.659Z] *** to show step parameters, set verbose:true in general pipeline configuration
[2024-11-29T10:47:44.659Z] *** WARNING: this may reveal sensitive information. ***
[2024-11-29T10:47:44.660Z] ***
[2024-11-29T10:47:44.660Z] 
[2024-11-29T10:47:44.660Z] The error was:
[2024-11-29T10:47:44.660Z] ***
[2024-11-29T10:47:44.660Z] hudson.AbortException: [mtaBuild] Step execution failed (category: undefined). Error: 'mta.yaml' not found in project sources and 'applicationName' not provided as parameter - cannot generate 'mta.yaml' file
[2024-11-29T10:47:44.660Z] ***
[2024-11-29T10:47:44.660Z] 
[2024-11-29T10:47:44.660Z] Further information:
[2024-11-29T10:47:44.660Z] * Documentation of library step dockerExecuteOnKubernetes: https://sap.github.io/jenkins-library/steps/dockerExecuteOnKubernetes/
[2024-11-29T10:47:44.660Z] * Source code of library step dockerExecuteOnKubernetes: https://github.com/SAP/jenkins-library/blob/master/vars/dockerExecuteOnKubernetes.groovy
[2024-11-29T10:47:44.660Z] * Library documentation: https://sap.github.io/jenkins-library/
[2024-11-29T10:47:44.660Z] * Library repository: https://github.com/SAP/jenkins-library/
[2024-11-29T10:47:44.660Z] 
[2024-11-29T10:47:44.661Z] ----------------------------------------------------------
[2024-11-29T10:47:44.661Z] --- End library step of: dockerExecuteOnKubernetes ---
[Pipeline] libraryResource
[Pipeline] echo
[2024-11-29T10:47:44.826Z] ----------------------------------------------------------
[2024-11-29T10:47:44.826Z] --- An error occurred in the library step: dockerExecute
[2024-11-29T10:47:44.826Z] ----------------------------------------------------------
[2024-11-29T10:47:44.827Z] 
[2024-11-29T10:47:44.827Z] The following parameters were available to the step:
[2024-11-29T10:47:44.827Z] ***
[2024-11-29T10:47:44.827Z] *** to show step parameters, set verbose:true in general pipeline configuration
[2024-11-29T10:47:44.827Z] *** WARNING: this may reveal sensitive information. ***
[2024-11-29T10:47:44.827Z] ***
[2024-11-29T10:47:44.827Z] 
[2024-11-29T10:47:44.827Z] The error was:
[2024-11-29T10:47:44.829Z] ***
[2024-11-29T10:47:44.829Z] hudson.AbortException: [mtaBuild] Step execution failed (category: undefined). Error: 'mta.yaml' not found in project sources and 'applicationName' not provided as parameter - cannot generate 'mta.yaml' file
[2024-11-29T10:47:44.831Z] ***
[2024-11-29T10:47:44.831Z] 
[2024-11-29T10:47:44.831Z] Further information:
[2024-11-29T10:47:44.832Z] * Documentation of library step dockerExecute: https://sap.github.io/jenkins-library/steps/dockerExecute/
[2024-11-29T10:47:44.832Z] * Source code of library step dockerExecute: https://github.com/SAP/jenkins-library/blob/master/vars/dockerExecute.groovy
[2024-11-29T10:47:44.832Z] * Library documentation: https://sap.github.io/jenkins-library/
[2024-11-29T10:47:44.832Z] * Library repository: https://github.com/SAP/jenkins-library/
[2024-11-29T10:47:44.832Z] 
[2024-11-29T10:47:44.832Z] ----------------------------------------------------------
[2024-11-29T10:47:44.832Z] --- End library step of: dockerExecute ---
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] libraryResource
[Pipeline] echo
[2024-11-29T10:47:44.974Z] ----------------------------------------------------------
[2024-11-29T10:47:44.974Z] --- An error occurred in the library step: mtaBuild
[2024-11-29T10:47:44.974Z] ----------------------------------------------------------
[2024-11-29T10:47:44.975Z] 
[2024-11-29T10:47:44.975Z] The following parameters were available to the step:
[2024-11-29T10:47:44.975Z] ***
[2024-11-29T10:47:44.975Z] *** to show step parameters, set verbose:true in general pipeline configuration
[2024-11-29T10:47:44.975Z] *** WARNING: this may reveal sensitive information. ***
[2024-11-29T10:47:44.975Z] ***
[2024-11-29T10:47:44.975Z] 
[2024-11-29T10:47:44.975Z] The error was:
[2024-11-29T10:47:44.975Z] ***
[2024-11-29T10:47:44.976Z] hudson.AbortException: [mtaBuild] Step execution failed (category: undefined). Error: 'mta.yaml' not found in project sources and 'applicationName' not provided as parameter - cannot generate 'mta.yaml' file
[2024-11-29T10:47:44.976Z] ***
[2024-11-29T10:47:44.976Z] 
[2024-11-29T10:47:44.976Z] Further information:
[2024-11-29T10:47:44.976Z] * Documentation of library step mtaBuild: https://sap.github.io/jenkins-library/steps/mtaBuild/
[2024-11-29T10:47:44.976Z] * Source code of library step mtaBuild: https://github.com/SAP/jenkins-library/blob/master/vars/mtaBuild.groovy
[2024-11-29T10:47:44.976Z] * Library documentation: https://sap.github.io/jenkins-library/
[2024-11-29T10:47:44.977Z] * Library repository: https://github.com/SAP/jenkins-library/
[2024-11-29T10:47:44.977Z] 
[2024-11-29T10:47:44.977Z] ----------------------------------------------------------
[2024-11-29T10:47:44.977Z] --- End library step of: mtaBuild ---
[Pipeline] libraryResource
[Pipeline] echo
[2024-11-29T10:47:45.062Z] ----------------------------------------------------------
[2024-11-29T10:47:45.062Z] --- An error occurred in the library step: buildExecute
[2024-11-29T10:47:45.062Z] ----------------------------------------------------------
[2024-11-29T10:47:45.062Z] 
[2024-11-29T10:47:45.062Z] The following parameters were available to the step:
[2024-11-29T10:47:45.062Z] ***
[2024-11-29T10:47:45.062Z] *** to show step parameters, set verbose:true in general pipeline configuration
[2024-11-29T10:47:45.063Z] *** WARNING: this may reveal sensitive information. ***
[2024-11-29T10:47:45.063Z] ***
[2024-11-29T10:47:45.063Z] 
[2024-11-29T10:47:45.063Z] The error was:
[2024-11-29T10:47:45.063Z] ***
[2024-11-29T10:47:45.063Z] hudson.AbortException: [mtaBuild] Step execution failed (category: undefined). Error: 'mta.yaml' not found in project sources and 'applicationName' not provided as parameter - cannot generate 'mta.yaml' file
[2024-11-29T10:47:45.063Z] ***
[2024-11-29T10:47:45.063Z] 
[2024-11-29T10:47:45.063Z] Further information:
[2024-11-29T10:47:45.063Z] * Documentation of library step buildExecute: https://sap.github.io/jenkins-library/steps/buildExecute/
[2024-11-29T10:47:45.063Z] * Source code of library step buildExecute: https://github.com/SAP/jenkins-library/blob/master/vars/buildExecute.groovy
[2024-11-29T10:47:45.063Z] * Library documentation: https://sap.github.io/jenkins-library/
[2024-11-29T10:47:45.064Z] * Library repository: https://github.com/SAP/jenkins-library/
[2024-11-29T10:47:45.064Z] 
[2024-11-29T10:47:45.064Z] ----------------------------------------------------------
[2024-11-29T10:47:45.064Z] --- End library step of: buildExecute ---
[Pipeline] echo
[2024-11-29T10:47:45.099Z] Stash content: cloudcitransfer (includes: cloudcitransfer/**/*, excludes: cloudcitransfer/**/node_modules/**)
[Pipeline] stash
[2024-11-29T10:47:45.121Z] Warning: overwriting stash ‘cloudcitransfer’
[2024-11-29T10:47:45.122Z] Stashed 2 file(s)
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[2024-11-29T10:47:45.306Z] Lock released on resource [Resource: fruits]
[Pipeline] // lock
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Additional Unit Tests)
Stage "Additional Unit Tests" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Malware Scan)
Stage "Malware Scan" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Acceptance)
Stage "Acceptance" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Compliance)
Stage "Compliance" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Release)
Stage "Release" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: [mtaBuild] Step execution failed (category: undefined). Error: 'mta.yaml' not found in project sources and 'applicationName' not provided as parameter - cannot generate 'mta.yaml' file
Finished: FAILURE

 Thanks,

reddy

Accepted Solutions (0)

Answers (0)