https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-Continuous-Integration-and-Delivery-qa.xml SAP Community - SAP Continuous Integration and Delivery 2024-05-20T11:12:40.403155+00:00 python-feedgen SAP Continuous Integration and Delivery Q&A in SAP Community https://community.sap.com/t5/technology-q-a/cicd-build-failed/qaq-p/12786958 CICD build failed 2023-11-22T02:23:58+01:00 JonoThomas https://community.sap.com/t5/user/viewprofilepage/user-id/175154 <P>Hi,</P> <P>I was doing the CICD deployment and encountered an issue in running the CI/CD job. Below is the Log for the build failure. Deployement from BAS is working without any issues.</P> <PRE><CODE>Stage Logs (risk-management-job #6 - Build) [2023-11-22T00:52:10.725Z] [INFO] No runFirst command defined for current stage (Build). Will not execute additional commands step [2023-11-22T00:52:11.267Z] Trying to acquire lock on [risk-management-job] [2023-11-22T00:52:11.270Z] Resource [risk-management-job] did not exist. Created. [2023-11-22T00:52:11.271Z] Lock acquired on [risk-management-job] [2023-11-22T00:52:11.308Z] Running on Jenkins in /jenkins_home/workspace/risk-management-job@2 [2023-11-22T00:52:11.349Z] Unstash content: pipelineConfigAndTests [2023-11-22T00:52:11.378Z] Unstash content: source [2023-11-22T00:52:12.921Z] Unstash content: cloudcitransfer [2023-11-22T00:52:12.985Z] [piperPipelineStageBuild] Sending telemetry data is disabled. [2023-11-22T00:52:13.415Z] --- Begin library step of: buildExecute --- [2023-11-22T00:52:13.642Z] [null] Sending telemetry data is disabled. [2023-11-22T00:52:14.070Z] --- Begin library step of: mtaBuild --- [2023-11-22T00:52:14.342Z] + '[' -x ./piper ] [2023-11-22T00:52:14.353Z] Found piper binary in the workspace - skipping unstash [2023-11-22T00:52:14.370Z] Unstash content: pipelineConfigAndTests [2023-11-22T00:52:14.433Z] Step params [:] [2023-11-22T00:52:14.477Z] PIPER_parametersJSON: {} [2023-11-22T00:52:14.750Z] + ./piper getConfig --contextConfig --stepMetadata .pipeline/tmp/metadata/mtaBuild.yaml --defaultConfig .pipeline/.pipeline/cicdCustomDefaults.yml --ignoreCustomDefaults [2023-11-22T00:52:14.751Z] time="2023-11-22T00:52:14Z" level=info msg="Version daf159ae1145d8c743bf54f673d6d8b7cecf0b9e" library=SAP/jenkins-library [2023-11-22T00:52:14.751Z] time="2023-11-22T00:52:14Z" level=info msg="Printing stepName " library=SAP/jenkins-library [2023-11-22T00:52:14.781Z] Context Config: [dockerImage:devxci/mbtci-java17-node18@sha256:3c4903882815c3a2a67bfb30b3842ad90d85ee10da4224a7b39a5a0dd1a3e21f, dockerPullImage:false] [2023-11-22T00:52:14.800Z] [INFO] executing pipeline step 'mtaBuild' with docker image 'devxci/mbtci-java17-node18@sha256:3c4903882815c3a2a67bfb30b3842ad90d85ee10da4224a7b39a5a0dd1a3e21f' [2023-11-22T00:52:15.384Z] --- Begin library step of: dockerExecute --- [2023-11-22T00:52:15.596Z] [dockerExecute] Sending telemetry data is disabled. [2023-11-22T00:52:16.204Z] --- Begin library step of: dockerExecuteOnKubernetes --- [2023-11-22T00:52:16.410Z] [dockerExecuteOnKubernetes] Sending telemetry data is disabled. [2023-11-22T00:52:16.429Z] Stash content: workspace-e48a1485-28ed-42a6-a19d-ce0ec1205776 (includes: **/*, excludes: nohup.out, useDefaultExcludes: true, allowEmpty: true) [2023-11-22T00:52:24.773Z] Stashed 65 file(s) [2023-11-22T00:52:28.018Z] Created Pod: kubernetes steward-run-2tmrp-main-6rjd4/dynamic-agent-e48a1485-28ed-42a6-a19d-ce0ec1205776-0rkc4-ks2sz [2023-11-22T00:52:31.055Z] Agent dynamic-agent-e48a1485-28ed-42a6-a19d-ce0ec1205776-0rkc4-ks2sz is provisioned from template dynamic-agent-e48a1485-28ed-42a6-a19d-ce0ec1205776-0rkc4 [2023-11-22T00:52:31.261Z] Running on dynamic-agent-e48a1485-28ed-42a6-a19d-ce0ec1205776-0rkc4-ks2sz in /home/jenkins/agent/workspace/risk-management-job [2023-11-22T00:52:31.465Z] ContainerConfig: [name:container-exec] [2023-11-22T00:52:31.500Z] Unstash content: workspace-e48a1485-28ed-42a6-a19d-ce0ec1205776 [2023-11-22T00:52:34.537Z] invalidate stash workspace-e48a1485-28ed-42a6-a19d-ce0ec1205776 [2023-11-22T00:52:34.556Z] Stash content: workspace-e48a1485-28ed-42a6-a19d-ce0ec1205776 (includes: **/*.*, excludes: **/*, useDefaultExcludes: true, allowEmpty: true) [2023-11-22T00:52:34.575Z] Warning: overwriting stash ‘workspace-e48a1485-28ed-42a6-a19d-ce0ec1205776’ [2023-11-22T00:52:34.707Z] Stashed 0 file(s) [2023-11-22T00:52:34.719Z] [INFO][dockerExecute] Executing inside a Kubernetes Pod [2023-11-22T00:52:35.476Z] + ./piper writePipelineEnv [2023-11-22T00:52:35.476Z] time="2023-11-22T00:52:35Z" level=info msg="Version daf159ae1145d8c743bf54f673d6d8b7cecf0b9e" library=SAP/jenkins-library [2023-11-22T00:52:35.541Z] Unstash content: pipelineStepReports [2023-11-22T00:52:35.571Z] Unstash failed: pipelineStepReports (No such saved stash ‘pipelineStepReports’) [2023-11-22T00:52:36.230Z] + ./piper mtaBuild --defaultConfig .pipeline/.pipeline/cicdCustomDefaults.yml --ignoreCustomDefaults [2023-11-22T00:52:36.231Z] time="2023-11-22T00:52:36Z" level=info msg="Version daf159ae1145d8c743bf54f673d6d8b7cecf0b9e" library=SAP/jenkins-library [2023-11-22T00:52:36.231Z] info mtaBuild - running command: npm config get registry [2023-11-22T00:52:36.497Z] info mtaBuild - Discovered pre-configured npm registry registry with value <A href="https://registry.npmjs.com/" target="test_blank" rel="nofollow noopener noreferrer">https://registry.npmjs.com/</A> [2023-11-22T00:52:36.497Z] [2023-11-22T00:52:36.498Z] info mtaBuild - "mta.yaml" file found in project sources [2023-11-22T00:52:36.498Z] info mtaBuild - No timestamp contained in "mta.yaml". File has not been modified. [2023-11-22T00:52:36.498Z] info mtaBuild - Executing mta build call: "mbt build --mtar risk-management.mtar --platform CF --source ./ --target /home/jenkins/agent/workspace/risk-management-job" [2023-11-22T00:52:36.498Z] info mtaBuild - running command: mbt build --mtar risk-management.mtar --platform CF --source ./ --target /home/jenkins/agent/workspace/risk-management-job [2023-11-22T00:52:36.498Z] info mtaBuild - [2023-11-22 00:52:36] INFO Cloud MTA Build Tool version 1.2.25 [2023-11-22T00:52:36.498Z] info mtaBuild - [2023-11-22 00:52:36] INFO generating the "Makefile_20231122005236.mta" file... [2023-11-22T00:52:36.498Z] info mtaBuild - [2023-11-22 00:52:36] INFO done [2023-11-22T00:52:36.498Z] info mtaBuild - [2023-11-22 00:52:36] INFO executing the "make -f Makefile_20231122005236.mta p=CF mtar=risk-management.mtar strict=true mode= t=\"/home/jenkins/agent/workspace/risk-management-job\"" command... [2023-11-22T00:52:36.498Z] info mtaBuild - [2023-11-22 00:52:36] INFO validating the MTA project [2023-11-22T00:52:36.498Z] info mtaBuild - [2023-11-22 00:52:36] INFO running the "before-all" build... [2023-11-22T00:52:36.498Z] info mtaBuild - [2023-11-22 00:52:36] INFO executing the "npx cds build --production" command... [2023-11-22T00:52:37.434Z] error mtaBuild - npm ERR! could not determine executable to run [2023-11-22T00:52:37.434Z] info mtaBuild - [2023-11-22T00:52:37.434Z] error mtaBuild - npm ERR! A complete log of this run can be found in: [2023-11-22T00:52:37.434Z] error mtaBuild - npm ERR! /home/mta/.npm/_logs/2023-11-22T00_52_36_822Z-debug-0.log [2023-11-22T00:52:37.434Z] error mtaBuild - [2023-11-22 00:52:37] ERROR the "before-all"" build failed: could not execute the "npx cds build --production" command: exit status 1 [2023-11-22T00:52:37.434Z] info mtaBuild - make: *** [Makefile_20231122005236.mta:28: pre_build] Error 1 [2023-11-22T00:52:37.434Z] info mtaBuild - Error: could not build the MTA project: could not execute the "make -f Makefile_20231122005236.mta p=CF mtar=risk-management.mtar strict=true mode= t=\"/home/jenkins/agent/workspace/risk-management-job\"" command: exit status 2 [2023-11-22T00:52:37.434Z] info mtaBuild - fatal error: errorDetails{"category":"build","correlationId":"n/a","error":"running command 'mbt' failed: cmd.Run() failed: exit status 1","library":"SAP/jenkins-library","message":"failed to execute mta build","result":"failure","stepName":"mtaBuild","time":"2023-11-22T00:52:37.361631795Z"} [2023-11-22T00:52:37.434Z] fatal mtaBuild - failed to execute mta build - running command 'mbt' failed: cmd.Run() failed: exit status 1 [2023-11-22T00:52:37.434Z] info mtaBuild - persisting reports to GCS is disabled, because gcsBucketId is empty [2023-11-22T00:52:37.435Z] info mtaBuild - Step telemetry data:{"StepStartTime":"2023-11-22 00:52:36.04385709 +0000 UTC","PipelineURLHash":"50f013532a9770a2c2cfdc38b7581dd01df69b70","BuildURLHash":"50f013532a9770a2c2cfdc38b7581dd01df69b70","StageName":"Build","StepName":"mtaBuild","ErrorCode":"1","StepDuration":"1318","ErrorCategory":"build","CorrelationID":"n/a","PiperCommitHash":"daf159ae1145d8c743bf54f673d6d8b7cecf0b9e","ErrorDetail":{"category":"build","correlationId":"n/a","error":"running command 'mbt' failed: cmd.Run() failed: exit status 1","library":"SAP/jenkins-library","message":"failed to execute mta build","result":"failure","stepName":"mtaBuild","time":"2023-11-22T00:52:37.361631795Z"}} [2023-11-22T00:52:38.199Z] + ./piper readPipelineEnv [2023-11-22T00:52:38.199Z] time="2023-11-22T00:52:37Z" level=info msg="Version daf159ae1145d8c743bf54f673d6d8b7cecf0b9e" library=SAP/jenkins-library [2023-11-22T00:52:38.238Z] Transfer Influx data [2023-11-22T00:52:38.273Z] Stash content: pipelineStepReports (includes: .pipeline/stepReports/**, excludes: , useDefaultExcludes: true, allowEmpty: true) [2023-11-22T00:52:38.296Z] Stashed 0 file(s) [2023-11-22T00:52:39.051Z] Stash content: container-e48a1485-28ed-42a6-a19d-ce0ec1205776 (includes: **/*, excludes: **/node_modules/**,nohup.out, useDefaultExcludes: true, allowEmpty: true) [2023-11-22T00:52:47.190Z] Stashed 73 file(s) [2023-11-22T00:52:47.313Z] Unstash content: container-e48a1485-28ed-42a6-a19d-ce0ec1205776 [2023-11-22T00:52:49.422Z] invalidate stash container-e48a1485-28ed-42a6-a19d-ce0ec1205776 [2023-11-22T00:52:49.440Z] Stash content: container-e48a1485-28ed-42a6-a19d-ce0ec1205776 (includes: **/*.*, excludes: **/*, useDefaultExcludes: true, allowEmpty: true) [2023-11-22T00:52:49.462Z] Warning: overwriting stash ‘container-e48a1485-28ed-42a6-a19d-ce0ec1205776’ [2023-11-22T00:52:49.470Z] Stashed 0 file(s) [2023-11-22T00:52:49.546Z] ---------------------------------------------------------- [2023-11-22T00:52:49.547Z] --- An error occurred in the library step: dockerExecuteOnKubernetes [2023-11-22T00:52:49.547Z] ---------------------------------------------------------- [2023-11-22T00:52:49.547Z] [2023-11-22T00:52:49.547Z] The following parameters were available to the step: [2023-11-22T00:52:49.547Z] *** [2023-11-22T00:52:49.547Z] *** to show step parameters, set verbose:true in general pipeline configuration [2023-11-22T00:52:49.547Z] *** WARNING: this may reveal sensitive information. *** [2023-11-22T00:52:49.547Z] *** [2023-11-22T00:52:49.547Z] [2023-11-22T00:52:49.547Z] The error was: [2023-11-22T00:52:49.547Z] *** [2023-11-22T00:52:49.547Z] hudson.AbortException: [mtaBuild] Step execution failed (category: build). Error: running command 'mbt' failed: cmd.Run() failed: exit status 1 [2023-11-22T00:52:49.547Z] *** [2023-11-22T00:52:49.547Z] [2023-11-22T00:52:49.547Z] Further information: [2023-11-22T00:52:49.547Z] * Documentation of library step dockerExecuteOnKubernetes: <A href="https://sap.github.io/jenkins-library/steps/dockerExecuteOnKubernetes/" target="test_blank" rel="nofollow noopener noreferrer">https://sap.github.io/jenkins-library/steps/dockerExecuteOnKubernetes/</A> [2023-11-22T00:52:49.547Z] * Source code of library step dockerExecuteOnKubernetes: <A href="https://github.com/SAP/jenkins-library/blob/master/vars/dockerExecuteOnKubernetes.groovy" target="test_blank" rel="nofollow noopener noreferrer">https://github.com/SAP/jenkins-library/blob/master/vars/dockerExecuteOnKubernetes.groovy</A> [2023-11-22T00:52:49.547Z] * Library documentation: <A href="https://sap.github.io/jenkins-library/" target="test_blank" rel="nofollow noopener noreferrer">https://sap.github.io/jenkins-library/</A> [2023-11-22T00:52:49.547Z] * Library repository: <A href="https://github.com/SAP/jenkins-library/" target="test_blank" rel="nofollow noopener noreferrer">https://github.com/SAP/jenkins-library/</A> [2023-11-22T00:52:49.547Z] [2023-11-22T00:52:49.547Z] ---------------------------------------------------------- [2023-11-22T00:52:49.547Z] --- End library step of: dockerExecuteOnKubernetes --- [2023-11-22T00:52:49.595Z] ---------------------------------------------------------- [2023-11-22T00:52:49.595Z] --- An error occurred in the library step: dockerExecute [2023-11-22T00:52:49.595Z] ---------------------------------------------------------- [2023-11-22T00:52:49.595Z] [2023-11-22T00:52:49.596Z] The following parameters were available to the step: [2023-11-22T00:52:49.596Z] *** [2023-11-22T00:52:49.596Z] *** to show step parameters, set verbose:true in general pipeline configuration [2023-11-22T00:52:49.596Z] *** WARNING: this may reveal sensitive information. *** [2023-11-22T00:52:49.596Z] *** [2023-11-22T00:52:49.596Z] [2023-11-22T00:52:49.596Z] The error was: [2023-11-22T00:52:49.596Z] *** [2023-11-22T00:52:49.596Z] hudson.AbortException: [mtaBuild] Step execution failed (category: build). Error: running command 'mbt' failed: cmd.Run() failed: exit status 1 [2023-11-22T00:52:49.596Z] *** [2023-11-22T00:52:49.596Z] [2023-11-22T00:52:49.596Z] Further information: [2023-11-22T00:52:49.596Z] * Documentation of library step dockerExecute: <A href="https://sap.github.io/jenkins-library/steps/dockerExecute/" target="test_blank" rel="nofollow noopener noreferrer">https://sap.github.io/jenkins-library/steps/dockerExecute/</A> [2023-11-22T00:52:49.596Z] * Source code of library step dockerExecute: <A href="https://github.com/SAP/jenkins-library/blob/master/vars/dockerExecute.groovy" target="test_blank" rel="nofollow noopener noreferrer">https://github.com/SAP/jenkins-library/blob/master/vars/dockerExecute.groovy</A> [2023-11-22T00:52:49.596Z] * Library documentation: <A href="https://sap.github.io/jenkins-library/" target="test_blank" rel="nofollow noopener noreferrer">https://sap.github.io/jenkins-library/</A> [2023-11-22T00:52:49.596Z] * Library repository: <A href="https://github.com/SAP/jenkins-library/" target="test_blank" rel="nofollow noopener noreferrer">https://github.com/SAP/jenkins-library/</A> [2023-11-22T00:52:49.596Z] [2023-11-22T00:52:49.596Z] ---------------------------------------------------------- [2023-11-22T00:52:49.596Z] --- End library step of: dockerExecute --- [2023-11-22T00:52:49.671Z] ---------------------------------------------------------- [2023-11-22T00:52:49.671Z] --- An error occurred in the library step: mtaBuild [2023-11-22T00:52:49.671Z] ---------------------------------------------------------- [2023-11-22T00:52:49.671Z] [2023-11-22T00:52:49.671Z] The following parameters were available to the step: [2023-11-22T00:52:49.671Z] *** [2023-11-22T00:52:49.671Z] *** to show step parameters, set verbose:true in general pipeline configuration [2023-11-22T00:52:49.671Z] *** WARNING: this may reveal sensitive information. *** [2023-11-22T00:52:49.671Z] *** [2023-11-22T00:52:49.671Z] [2023-11-22T00:52:49.671Z] The error was: [2023-11-22T00:52:49.671Z] *** [2023-11-22T00:52:49.671Z] hudson.AbortException: [mtaBuild] Step execution failed (category: build). Error: running command 'mbt' failed: cmd.Run() failed: exit status 1 [2023-11-22T00:52:49.672Z] *** [2023-11-22T00:52:49.672Z] [2023-11-22T00:52:49.672Z] Further information: [2023-11-22T00:52:49.672Z] * Documentation of library step mtaBuild: <A href="https://sap.github.io/jenkins-library/steps/mtaBuild/" target="test_blank" rel="nofollow noopener noreferrer">https://sap.github.io/jenkins-library/steps/mtaBuild/</A> [2023-11-22T00:52:49.672Z] * Source code of library step mtaBuild: <A href="https://github.com/SAP/jenkins-library/blob/master/vars/mtaBuild.groovy" target="test_blank" rel="nofollow noopener noreferrer">https://github.com/SAP/jenkins-library/blob/master/vars/mtaBuild.groovy</A> [2023-11-22T00:52:49.672Z] * Library documentation: <A href="https://sap.github.io/jenkins-library/" target="test_blank" rel="nofollow noopener noreferrer">https://sap.github.io/jenkins-library/</A> [2023-11-22T00:52:49.672Z] * Library repository: <A href="https://github.com/SAP/jenkins-library/" target="test_blank" rel="nofollow noopener noreferrer">https://github.com/SAP/jenkins-library/</A> [2023-11-22T00:52:49.672Z] [2023-11-22T00:52:49.672Z] ---------------------------------------------------------- [2023-11-22T00:52:49.672Z] --- End library step of: mtaBuild --- [2023-11-22T00:52:49.714Z] ---------------------------------------------------------- [2023-11-22T00:52:49.714Z] --- An error occurred in the library step: buildExecute [2023-11-22T00:52:49.714Z] ---------------------------------------------------------- [2023-11-22T00:52:49.714Z] [2023-11-22T00:52:49.714Z] The following parameters were available to the step: [2023-11-22T00:52:49.714Z] *** [2023-11-22T00:52:49.714Z] *** to show step parameters, set verbose:true in general pipeline configuration [2023-11-22T00:52:49.714Z] *** WARNING: this may reveal sensitive information. *** [2023-11-22T00:52:49.714Z] *** [2023-11-22T00:52:49.715Z] [2023-11-22T00:52:49.715Z] The error was: [2023-11-22T00:52:49.715Z] *** [2023-11-22T00:52:49.715Z] hudson.AbortException: [mtaBuild] Step execution failed (category: build). Error: running command 'mbt' failed: cmd.Run() failed: exit status 1 [2023-11-22T00:52:49.715Z] *** [2023-11-22T00:52:49.715Z] [2023-11-22T00:52:49.715Z] Further information: [2023-11-22T00:52:49.715Z] * Documentation of library step buildExecute: <A href="https://sap.github.io/jenkins-library/steps/buildExecute/" target="test_blank" rel="nofollow noopener noreferrer">https://sap.github.io/jenkins-library/steps/buildExecute/</A> [2023-11-22T00:52:49.715Z] * Source code of library step buildExecute: <A href="https://github.com/SAP/jenkins-library/blob/master/vars/buildExecute.groovy" target="test_blank" rel="nofollow noopener noreferrer">https://github.com/SAP/jenkins-library/blob/master/vars/buildExecute.groovy</A> [2023-11-22T00:52:49.715Z] * Library documentation: <A href="https://sap.github.io/jenkins-library/" target="test_blank" rel="nofollow noopener noreferrer">https://sap.github.io/jenkins-library/</A> [2023-11-22T00:52:49.715Z] * Library repository: <A href="https://github.com/SAP/jenkins-library/" target="test_blank" rel="nofollow noopener noreferrer">https://github.com/SAP/jenkins-library/</A> [2023-11-22T00:52:49.715Z] [2023-11-22T00:52:49.715Z] ---------------------------------------------------------- [2023-11-22T00:52:49.715Z] --- End library step of: buildExecute --- [2023-11-22T00:52:49.734Z] Stash content: cloudcitransfer (includes: cloudcitransfer/**/*, excludes: cloudcitransfer/**/node_modules/**) [2023-11-22T00:52:49.765Z] Warning: overwriting stash ‘cloudcitransfer’ [2023-11-22T00:52:49.766Z] Stashed 2 file(s) [2023-11-22T00:52:49.836Z] [null] Sending telemetry data is disabled. [2023-11-22T00:52:49.880Z] Lock released on resource [risk-management-job]</CODE></PRE> <P>Regards,</P> <P>Jono Thomas</P> 2023-11-22T02:23:58+01:00 https://community.sap.com/t5/technology-q-a/sap-btp-ci-cd-fail-in-additional-test-error-running-command-npm-failed/qaq-p/12805572 SAP BTP CI/CD fail in Additional Test - Error: running command 'npm' failed 2023-11-27T03:52:03+01:00 former_member13323 https://community.sap.com/t5/user/viewprofilepage/user-id/13323 <P>Hi there, </P> <P>When running CI/CD for my test CAP Build, I'm getting the following error:</P> <PRE><CODE>[2023-11-27T02:41:38.133Z] ---------------------------------------------------------- [2023-11-27T02:41:38.133Z] --- An error occurred in the library step: dockerExecute [2023-11-27T02:41:38.133Z] ---------------------------------------------------------- [2023-11-27T02:41:38.133Z] [2023-11-27T02:41:38.133Z] The following parameters were available to the step: [2023-11-27T02:41:38.133Z] *** [2023-11-27T02:41:38.133Z] *** to show step parameters, set verbose:true in general pipeline configuration [2023-11-27T02:41:38.133Z] *** WARNING: this may reveal sensitive information. *** [2023-11-27T02:41:38.133Z] *** [2023-11-27T02:41:38.133Z] [2023-11-27T02:41:38.133Z] The error was: [2023-11-27T02:41:38.133Z] *** [2023-11-27T02:41:38.133Z] hudson.AbortException: [npmExecuteScripts] Step execution failed (category: build). Error: running command 'npm' failed: cmd.Run() failed: exit status 1 [2023-11-27T02:41:38.133Z] *** [2023-11-27T02:41:38.133Z] &lt;br&gt;</CODE></PRE> <P>Relevant mta.yaml npm build as follows:</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2228215-n3.png" /></P> <BR /> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2228213-1.png" /></P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2228214-2.png" /></P> <P>Manually running "npm run test" in VSCode it's all good.</P> <P>Not sure where it went wrong? Any help appreciated thanks!</P> 2023-11-27T03:52:03+01:00 https://community.sap.com/t5/technology-q-a/ci-cd-with-abap-environment/qaq-p/12744466 CI/CD with ABAP Environment 2023-12-06T11:27:48+01:00 MaximFuchs https://community.sap.com/t5/user/viewprofilepage/user-id/168215 <P>Hello everyone,</P> <P>I have completed the following two tutorials:</P> <UL> <LI><A href="https://developers.sap.com/tutorials/fiori-tools-rap-prepare-service.html" target="test_blank" rel="noopener noreferrer">https://developers.sap.com/tutorials/fiori-tools-rap-prepare-service.html</A></LI> <LI><A href="https://developers.sap.com/tutorials/fiori-tools-rap-create-application.html" target="test_blank" rel="noopener noreferrer">https://developers.sap.com/tutorials/fiori-tools-rap-create-application.html</A></LI> </UL> <P>Then I have deployed the app in my dev subaccount and integrated it into SAP Build Work Zone.</P> <P>I would now like to use CI/CD to automatically deploy my entire application (frontend and backend) to the dev subaccount during commit/push and make it available for import in the test subaccount. </P> <P>What would be the best practice approach for this scenario?</P> 2023-12-06T11:27:48+01:00 https://community.sap.com/t5/technology-q-a/how-to-deploy-a-fiori-app-on-on-premise-server-using-btp-cicd-service-s/qaq-p/12817513 How to Deploy a Fiori app on on-premise server using BTP CICD service's Source Repo? 2024-01-04T07:18:51+01:00 kausik_sharma https://community.sap.com/t5/user/viewprofilepage/user-id/892786 <P>Hi All,<BR />Here I am using BTP CICD, GitHub webhook and BAS for the entire application deployment.</P> <P>1. Here is the Job Status: the Release Stage is failed. Here I am using Source Repository as Stage.</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2232310-image.png" /></P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2232313-image.png" /></P> <P>2. Error log is:</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2232312-image.png" /></P> <P>3. config.yaml</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2232319-image.png" /></P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2232322-image.png" /></P> <P> <BR /> <BR /> <BR /> </P> <P>4. Project Structure:</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2232317-image.png" /></P> <P>5. Credential List: </P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2232318-image.png" /></P> <P>I have added all the things as per </P> <P><A href="https://help.sap.com/docs/continuous-integration-and-delivery/sap-continuous-integration-and-delivery/configure-sap-fiori-for-abap-platform-job-in-your-repository#loioa859560bca4149488f8e94e9c9a9adad" rel="noopener noreferrer">https://help.sap.com/docs/continuous-integration-and-delivery/sap-continuous-integration-and-delivery/configure-sap-fiori-for-abap-platform-job-in-your-repository#loioa859560bca4149488f8e94e9c9a9adad</A></P> <P>but Still I m getting error as mention in the error log ,Cannot get property 'uploadCredentialsId' on null object </P> <P>as I declared in the config file but still getting this error, can anyone help me out whats the solution? </P> 2024-01-04T07:18:51+01:00 https://community.sap.com/t5/technology-q-a/cicd-release-failed-on-btp-trial-account/qaq-p/12816996 CICD Release failed on BTP trial account. 2024-01-04T12:38:53+01:00 dwipin https://community.sap.com/t5/user/viewprofilepage/user-id/892047 <P>Hi Team,</P> <P>We are getting the attached error while running the cicd job to deploy application through cloud transport management system in BTP trial account.</P> <P>Please assist.<A href="https://answers.sap.com/storage/temp/2231375-deploy-error.txt" data-attachment="2231375" rel="noopener noreferrer">deploy-error.txt</A></P> <P>Regards,</P> <P>Dwipin</P> 2024-01-04T12:38:53+01:00 https://community.sap.com/t5/technology-q-a/trigger-ci-cd-build-on-merge/qaq-p/12817553 Trigger CI/CD Build on Merge 2024-01-04T16:26:38+01:00 gneeli https://community.sap.com/t5/user/viewprofilepage/user-id/178112 <P>As it is best practice to not directly push code onto the main Branch, I'd like to only build on a successful merge, and thus exclude any accidental non-merge push events from triggering a build. Just to be safe.<BR />But while setting up a webhook between Azure DevOps and the CI/CD Service I noticed that so far only the "Code Push" event seems to be supported. With all other event types returning 400 Bad Request.</P> <P>Response with Push:</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2232363-image.png" /></P> <P><BR />Response with Merge:</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2232362-image.png" /></P> <P>While "Code Push" works fine most of the time. The additional granularity would be welcome.<BR />Is there any chance that we could get support for more event types?</P> 2024-01-04T16:26:38+01:00 https://community.sap.com/t5/technology-q-a/va02-requested-delivery-date-arrival-time-is-late-in-the-day/qaq-p/13602755 VA02 Requested Delivery date Arrival Time is late in the day 2024-02-12T16:57:05.714000+01:00 RoniC https://community.sap.com/t5/user/viewprofilepage/user-id/1395904 <P>While in VA02, I was updating requested delivery dates, and while in the date field of the pop-up box, I hit F7, and received a warning message stating "Goods accepted from 03:00 to and from to 21:59". I can click through this warning message, however I noticed that the arrival time on that pop-up box is now 23:02:00 or a similar timeframe, whereas it should be something more like 08:03:00. I'm trying to figure out how to have that time to auto-populate correctly again, and how pressing F7 may have messed it up.</P> 2024-02-12T16:57:05.714000+01:00 https://community.sap.com/t5/technology-q-a/to-implement-cicd-pipeine-for-fiori-projects/qaq-p/13604829 To implement CICD Pipeine for Fiori Projects 2024-02-14T10:43:22.745000+01:00 Joy_Ragavie https://community.sap.com/t5/user/viewprofilepage/user-id/139659 <P>Hi, I want to implement CICD Pipeline for Fiori Freestyle projects</P><P>I have followed the tutorials i am able to connect with GitHub and CICD and even webhook is triggered.</P><P>The Github is failing because recently we have with extra security when we push the code from BAS to Github to main it will generate OTP for access the repository. due to this step its failing.</P><P>Do anyone has the similar issue or if you have implemented can you help me?</P> 2024-02-14T10:43:22.745000+01:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/different-calendar-for-the-same-shipping-point/qaq-p/13613832 different calendar for the same shipping point 2024-02-21T03:05:33.775000+01:00 Xnk https://community.sap.com/t5/user/viewprofilepage/user-id/1402104 <P>Hi all,</P><P>Can we create different calendar for LCL and FCL shipment with the same shipping point or we must use different shipping point for FCL and LCL?</P><P>Customer of FCL and LCL are different.</P><P>Thanks!</P> 2024-02-21T03:05:33.775000+01:00 https://community.sap.com/t5/technology-q-a/sap-bas-ci-cd-builds-no-option-to-create-a-job/qaq-p/13620158 SAP BAS - CI/CD Builds: No option to Create a Job 2024-02-27T05:59:28.032000+01:00 Vonshlovens https://community.sap.com/t5/user/viewprofilepage/user-id/1399019 <P>Hi all,&nbsp;</P><P>Following a tutorial, it looks like this button should be available in SAP BAS:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vonshlovens_0-1709009874855.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/71585iA50CC1C4C9B69505/image-size/medium?v=v2&amp;px=400" role="button" title="Vonshlovens_0-1709009874855.png" alt="Vonshlovens_0-1709009874855.png" /></span></P><P>But mine just shows this, none of the buttons seem to help. Any ideas on what's going wrong?</P><P>Thanks!</P> 2024-02-27T05:59:28.032000+01:00 https://community.sap.com/t5/technology-q-a/crystal-report-ci-cd-on-azure-app-service/qaq-p/13624286 Crystal report CI/CD on azure app service 2024-02-29T20:05:49.347000+01:00 saeideh_taherian82 https://community.sap.com/t5/user/viewprofilepage/user-id/885348 <P>Our team decided to implement CI/CD on Azure app services with the existing system(asp .net c#) implemented by Crystal Report. We did some research and found different answers but it seems that the Azure platform is not currently supported.<BR />This&nbsp;<A href="http://www.britishdeveloper.co.uk/2012/01/crystal-reports-on-azure-how-to.html" target="_self" rel="nofollow noopener noreferrer">blog</A>&nbsp;suggested a way but most of the comments show that it doesn't work for most developers and they&nbsp;were faced with multiple blockages and errors.</P><P>We want to be sure about it so that we can think about the replacement with confidence otherwise. Are there any recommendations and possible solutions?</P> 2024-02-29T20:05:49.347000+01:00 https://community.sap.com/t5/technology-q-a/cicd-configure-an-sap-fiori-for-the-onpremise-abap-platform/qaq-p/13627266 CICD - Configure an SAP Fiori for the onpremise ABAP Platform 2024-03-04T16:05:22.662000+01:00 Joy_Ragavie https://community.sap.com/t5/user/viewprofilepage/user-id/139659 <P>Hi All,</P><P>I am new and trying to build the pipeline using CICD services for Freestyle Fiori projects. i have to deploy the app to the on premise ABAP platform using CICD. Currently the infrastructure works fine for manual deployment.</P><P>Currently i have created the job in CICD and able to complete the prerequisite steps like job creation, credentials mapping, web hook. init and build stage is successful.&nbsp; i need your help for setting up release stage</P><P><STRONG>Configure the stages of your SAP Fiori for the ABAP platform job directly in the&nbsp;<SPAN class="">SAP Continuous Integration and Delivery</SPAN>&nbsp;service.</STRONG></P><P>In the release stage -&nbsp;Upload Credentials - is the gateway server credentials to be given?</P><P><STRONG>&nbsp;Configure the stages of your SAP Fiori for the ABAP platform job in your repository.</STRONG></P><OL class=""><LI><SPAN class="">In the Git repository in which your project sources reside, create a new file named<SPAN>&nbsp;</SPAN>.pipeline/config.yml.</SPAN></LI><LI><SPAN class="">Copy the following content into your<SPAN>&nbsp;</SPAN>config.yml<SPAN>&nbsp;</SPAN>file:</SPAN><DIV class=""><DIV class=""><DIV class=""><DIV class="">&nbsp;</DIV></DIV></DIV></DIV></LI></OL><P><SPAN class="">these steps do anyone has the sample file with all the configuration steps written&nbsp;</SPAN></P><P>&nbsp;</P><P><SPAN class="">Regards,</SPAN></P><P><SPAN class="">Ragavie</SPAN></P> 2024-03-04T16:05:22.662000+01:00 https://community.sap.com/t5/supply-chain-management-q-a/specific-doubt-is-there-any-transation-for-this/qaq-p/13632414 Specific doubt - Is there any transation for this? 2024-03-08T15:29:50.329000+01:00 dianafts_ https://community.sap.com/t5/user/viewprofilepage/user-id/1411730 <P>Hello!!</P><P>I would like to know if there is any transaction that allows me to know the orders that were left behind.<BR />I will try to be as specific as possible.<BR />&nbsp;&nbsp;<BR />Let's see something real:<BR />&nbsp;<BR />My company has a 48-hour limit to deliver orders to the customer, that is, I place an order on February 12th, the expected delivery date is February 14th.<BR />The system then issues an order to the warehouse for the warehouse to organize the order and place it for picking so that the carrier can pick it up and deliver it on the following day (February 13th) by February 14th, as defined.<BR />&nbsp;<BR />But for some reason, there is a product that was supposed to be in stock on the defined days and is not, due to a delay in supply.<BR />So when the system automatically sends it to the warehouse, this product is not mentioned and does not go on the delivery note for picking and then transportation.<BR />&nbsp;<BR />The question is: How can I anticipate a failure on a delivery to the customer and notify the customer in advance?<BR />Is there any way to see why or how the system itself did not send the product to the warehouse in advance? Any transaction? Or multiple transactions? Maybe I can export some files and make an excel and determinate something?<BR />&nbsp;<BR />Please, I really need your help. My job depends on this. Any help would be amazing! I hope I was enlightening and that you understand my doubts. I'm not native English.<BR />&nbsp;<BR />Thank you so much!!!</P> 2024-03-08T15:29:50.329000+01:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/during-vl02n-pgi-get-error-quot-change-the-inspection-stock-of-material-in/qaq-p/13633234 During VL02N PGI, get error "Change the inspection stock of Material in QM only" 2024-03-10T22:52:50.083000+01:00 jeffrey_pepito https://community.sap.com/t5/user/viewprofilepage/user-id/197986 <P>Hi Experts,</P><P>As per scenario, "Sample consumption" of 5 qty posted from QM through QA11 (Only stock posting performed). Since Storage location of Inspection lot is integrated with decentralized WH, Outbound delivery is triggered after QA11 sample posting.&nbsp;<SPAN>The Movement type inside this Outbound delivery is 331, but stock type is "Blank". </SPAN></P><P><EM><SPAN>We did the following and got same error both cases,</SPAN></EM></P><OL><LI><EM><SPAN>Tried to post PGI with stock type blank, we got below error</SPAN></EM></LI><LI><EM><SPAN>Updated delivery stock type value "X - Quality" using Inbound IDOC from decentralized WH and tried PGI. Still we get same error.</SPAN></EM></LI></OL><P><EM><SPAN><STRONG>ERROR</STRONG> - Change the inspection stock of Material in QM only.</SPAN></EM></P><P><SPAN><SPAN>Business couldn't do PGI. Is there any alternate way? Kindly help on the above.</SPAN></SPAN></P><P><SPAN><SPAN>Regards,</SPAN></SPAN></P><P><SPAN><SPAN>Jeffrey</SPAN></SPAN></P><P>&nbsp;</P> 2024-03-10T22:52:50.083000+01:00 https://community.sap.com/t5/technology-q-a/continuous-integration-and-delivery-failed-to-load-pipeline-definitions/qaq-p/13653368 Continuous Integration and Delivery Failed to load pipeline definitions 2024-03-29T14:10:27.857000+01:00 JSkoczylas https://community.sap.com/t5/user/viewprofilepage/user-id/1395675 <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JSkoczylas_0-1711717614455.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/88423iAFA5B0E76216EB17/image-size/medium?v=v2&amp;px=400" role="button" title="JSkoczylas_0-1711717614455.png" alt="JSkoczylas_0-1711717614455.png" /></span></P><P>I have this issue even tho I added my user to CICD Service Developer and CICD Service Administrator</P> 2024-03-29T14:10:27.857000+01:00 https://community.sap.com/t5/technology-q-a/ci-cd-credentials-stage-release-error/qaq-p/13663608 CI/CD Credentials - Stage: release error 2024-04-09T11:12:53.165000+02:00 oksel https://community.sap.com/t5/user/viewprofilepage/user-id/893792 <P>Hi community!<BR />I am trying to connect my CI/CD to my github, which is also connected to my BAS. Once I push a change in BAS, I want the all of the stages to be automated in CI/CD, but im having an issue from the logs, related to some credentials or authorization.&nbsp; Note that every stage, except the release stage is successful. In my config.yml file I have specified:&nbsp;<SPAN>cfCredentialsId</SPAN><SPAN>: </SPAN><SPAN>"deploy-to-cf", which I have used as a credential name in CI/CD, using basic authorization, where I am using my login details as email/password (is this wrong?). FYI, I am logged into Cloud foundry on BAS, but the way I logged into cloud foundry that way was by using a SSO Passcode, and not email/pw, so maybe I need to change the AUTH type in ci/cd to something else?<BR />Thanks in advance for all help <span class="lia-unicode-emoji" title=":slightly_smiling_face:">🙂</span></SPAN></P><P>&nbsp;</P> 2024-04-09T11:12:53.165000+02:00 https://community.sap.com/t5/technology-q-a/authentication-for-e2e-test-automation-on-btp-with-sap-ci-cd-wdi5-and-btp/qaq-p/13667117 Authentication for e2e Test Automation on BTP with SAP CI/CD, wdi5 and BTP Build & Workzone 2024-04-11T16:11:30.780000+02:00 DavidBrodmann https://community.sap.com/t5/user/viewprofilepage/user-id/168790 <P>Dear fellow people interested in test automation on btp</P><P>I face the problem of authentication on SAP Build &amp; Workzone service in order for being able to execute automated tests from our SAP CI/CD Pipeline. The reason of this is, that I don't know how to authenticate via SAP Universal ID automatically in a pipeline environment. But let's give you a broad overview first.</P><P>We are developing applications in CAP for the cloud foundry environment. Those applications are build, tested and deployed in pipelines in the SAP CI/CD service.<BR />The html5 applications are collected and displayed in SAP Build &amp; Workzone, so POs and Devs can do all necessary tests for new features.<BR />In my opinion, it does make sense to also do the e2e tests over Build &amp; Workzone, so that we have a single point for all testing. We do the e2e tests with webdriver.io and the wdi5 plugin, which does work super well on a local instance.</P><P>The problem is now, that I don't know how to automatically log in from the pipeline into build &amp; workzone in order to have the proper permission to access the applications. I already tried to automate the login with SAP Universal ID. The problem is there, that after several logins a captcha appears, which is not solvable automatically (of course this is intended).</P><P>So what is the proper way to set up this kind of authentication ?<BR />Is a private authentication provider necessary for this kind of setup ?<BR />Is the setup just wrong and there is another, maybe more elegant way to do this ?</P><P>I am happy for any kind of input and suggestions. If something should be unclear please ask <span class="lia-unicode-emoji" title=":slightly_smiling_face:">🙂</span></P><P>cheers</P><P>David</P> 2024-04-11T16:11:30.780000+02:00 https://community.sap.com/t5/sap-learning-q-a/issues-faced-in-the-building-side-by-side-extensions-on-sap-btp/qaq-p/13681793 Issues faced in the Building Side-by-Side Extensions on SAP BTP 2024-04-25T08:33:00.862000+02:00 Elroy https://community.sap.com/t5/user/viewprofilepage/user-id/1445952 <P>Hi All,</P><P>I have implemented the Side by Side Extension on SAP BTP using CAP (<A href="https://learning.sap.com/learning-journeys/build-side-by-side-extensions-on-sap-btp" target="_blank" rel="noopener noreferrer">https://learning.sap.com/learning-journeys/build-side-by-side-extensions-on-sap-btp</A>) and I am currently facing 3 issues as follows:<BR />1. When I run my Risk Management App locally, I get the below error:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Elroy_0-1714026227170.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101534iFAB9C600598D5A15/image-size/medium?v=v2&amp;px=400" role="button" title="Elroy_0-1714026227170.png" alt="Elroy_0-1714026227170.png" /></span></P><P>I would like to know which Auth aspect would I need to check to resolve this. This was working fine before but have started to face this after I made the changes to deploy the app in Cloud Foundry.</P><P>&nbsp;</P><P>2. I have deployed the app in Cloud Foundry, but get the below message when I run the app in CF:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Elroy_1-1714026377243.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101536i34BFECEAE8944362/image-size/medium?v=v2&amp;px=400" role="button" title="Elroy_1-1714026377243.png" alt="Elroy_1-1714026377243.png" /></span></P><P>&nbsp;</P><P>Logs:<BR /><SPAN>{"written_at":"2024-04-25T06:25:42.949Z","written_ts":1714026342949000000,"csn_component":"-","correlation_id":"e068b7c6-eae8-497b-5b67-fd6a35c4e48f","type":"log","logger":"nodejs-logger","layer":"/Handler","level":"error","container_id":"10.32.3.5","component_type":"application","component_id":"5e07e58f-51c7-4412-b094-f1c3faadf443","component_name":"risk-management","component_instance":-1,"source_instance":-1,"organization_id":"5345543f-4ece-41a5-8d90-102a920f6be9","organization_name":"cbca00ddtrial","space_id":"ab716db3-0b31-4224-85eb-ea9432035ed3","space_name":"dev","request_id":"e068b7c6-eae8-497b-5b67-fd6a35c4e48f","msg":"GET request to launchpad.htm/launchpad.html completed with status 404 ENOENT: no such file or directory, stat '/home/vcap/app/launchpad.html'"}</SPAN></P><P>3. While running the CI/CD pipeline, the Release stage faced the below error:</P><PRE>[2024-04-25T05:17:30.379Z] *** [2024-04-25T05:17:30.379Z] hudson.AbortException: [cloudFoundryDeploy] Step execution failed (category: undefined). Error: running command 'cf' failed: cmd.Run() failed: exit status 1 [2024-04-25T05:17:30.379Z] ***</PRE><P>My project is in the below links:<BR /><A href="https://github.com/ElAfc/RiskManagement.git" target="_blank" rel="nofollow noopener noreferrer">https://github.com/ElAfc/RiskManagement.git</A></P><P>&nbsp;</P><P>Happy to share any other info that is needed.</P><P>Any help on this would be appreciated.</P><P>&nbsp;</P><P>&nbsp;</P> 2024-04-25T08:33:00.862000+02:00 https://community.sap.com/t5/technology-q-a/configuring-sap-ci-cd-pipeline-for-deploying-reactjs-application-in-cloud/qaq-p/13682175 Configuring SAP CI/CD pipeline for Deploying ReactJS application in Cloud Foundry 2024-04-25T12:03:01.997000+02:00 Nivedha_T https://community.sap.com/t5/user/viewprofilepage/user-id/1443428 <P>In this blog, we will discuss how to integrate SAP CI/CD pipeline for deploying ReactJS application on SAP Cloud Foundry environment.</P><P><STRONG>You will learn,</STRONG></P><UL><LI>How to create and build a ReactJS application.</LI><LI>How to configure and run SAP CI/CD Pipeline service.</LI><LI>How to create GitHub Webhook for automatically build, test and deploying the code changes.</LI></UL><P>&nbsp;</P><P><STRONG>Prerequisites</STRONG></P><UL><LI>You have an SAP BTP Global or trial account.</LI><LI>Node installed in your system.</LI><LI>You have a GitHub account.</LI></UL><P>&nbsp;</P><P><STRONG>Setting up React Application</STRONG></P><P><STRONG>step 1:&nbsp;</STRONG>Create your react application using the create-react-app. The&nbsp;create-react-app&nbsp;is an excellent tool which allows you to create and run React project very quickly by wrapping all the required dependencies.</P><pre class="lia-code-sample language-bash"><code>npx create-react-app reactcicd</code></pre><P><STRONG>step 2:&nbsp;</STRONG>To ensure that the application is running as expected, open the terminal and navigate to the application folder and type the below command. The application gets automatically hosted in the default server localhost:3000 and you’ll get the following screen.</P><pre class="lia-code-sample language-bash"><code>npm start</code></pre><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_18-1714039119225.png" style="width: 473px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101730i8151FF09DD317FBE/image-dimensions/473x240?v=v2" width="473" height="240" role="button" title="Nivedha_T_18-1714039119225.png" alt="Nivedha_T_18-1714039119225.png" /></span></P><P>&nbsp;<STRONG>step 3:&nbsp;</STRONG> Now&nbsp;create <STRONG>manifest.yml</STRONG> file for determining the Cloud Foundry app configurations and paste the below contents.</P><pre class="lia-code-sample language-bash"><code> --- applications: - name: your-app-name path: build/ instances: 1 buildpack: https://github.com/cloudfoundry/staticfile-buildpack.git memory: 256M</code></pre><P>&nbsp;<STRONG>step 4:&nbsp;</STRONG>Build the application using the below command,&nbsp;you will see the build folder getting added to your&nbsp; project.&nbsp;</P><pre class="lia-code-sample language-bash"><code>npm run build</code></pre><P>&nbsp;Also create a<SPAN>&nbsp;<STRONG>Staticfile&nbsp;</STRONG>with the following content in the build folder as shown below</SPAN></P><P><SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Nivedha_T_0-1714030774181.png" style="width: 308px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101632i941547AA79AC5F3D/image-dimensions/308x261?v=v2" width="308" height="261" role="button" title="Nivedha_T_0-1714030774181.png" alt="Nivedha_T_0-1714030774181.png" /></span></SPAN></P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P><STRONG>step 5:&nbsp;</STRONG>Now create a repository in your GitHub and push the changes. Make sure to remove build folder from the <STRONG>gitignore</STRONG> file since it is added default while creating the react project, we require it for deployment.&nbsp;For more details on how to deploy react application refer this link&nbsp;<A href="https://community.sap.com/t5/technology-blogs-by-sap/deploy-your-reactjs-application-in-cloud-foundry/ba-p/13464100" target="_blank">react-CF-deploy&nbsp;</A></P><P>&nbsp;</P><P><STRONG>Enable SAP Continuous integration and Delivery Service</STRONG></P><P><STRONG>step 1:&nbsp;</STRONG>Login into SAP BTP Cockpit and choose the subaccount to which you want to deploy your application.</P><P><STRONG>step 2:&nbsp;</STRONG>Select Service Marketplace from the side pane and search for Continuous Integration and Delivery service. Click the create button</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_5-1714031787666.png" style="width: 496px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101648iCD794757F2DE8B59/image-dimensions/496x241?v=v2" width="496" height="241" role="button" title="Nivedha_T_5-1714031787666.png" alt="Nivedha_T_5-1714031787666.png" /></span></P><P><STRONG>step 3:&nbsp;</STRONG>Create popup will appear then choose the plan you want to and click create button at the bottom. Choose View Subscription and wait until the status changes to Subscribed.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_0-1714038030854.png" style="width: 305px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101702iA3234CE1544C4375/image-dimensions/305x302?v=v2" width="305" height="302" role="button" title="Nivedha_T_0-1714038030854.png" alt="Nivedha_T_0-1714038030854.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_1-1714038056648.png" style="width: 424px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101703iEB72EDFC0500B481/image-dimensions/424x140?v=v2" width="424" height="140" role="button" title="Nivedha_T_1-1714038056648.png" alt="Nivedha_T_1-1714038056648.png" /></span></P><P><STRONG>step 4:&nbsp;</STRONG>Once the status is changed to subscribed navigate to <STRONG>Security → Role Collections</STRONG> from the left-hand pane. Choose role collection <STRONG>CICD Service Administrator</STRONG> and click edit.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_2-1714038118400.png" style="width: 457px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101704iFE90A2FCE4081F51/image-dimensions/457x215?v=v2" width="457" height="215" role="button" title="Nivedha_T_2-1714038118400.png" alt="Nivedha_T_2-1714038118400.png" /></span></P><P><STRONG>step 5:&nbsp;</STRONG>Navigate to users section click edit then Add a new row in the Users section table, enter your user id, Keep the identity provider as default and click save.</P><P>&nbsp;</P><P><STRONG>Configure your credentials</STRONG></P><P><STRONG>step 1: </STRONG>Go to <STRONG>Services → Instances and Subscriptions</STRONG>&nbsp;from the pane. Choose the application icon located next to the Continuous Integration &amp; Delivery subscription. Now we need to add credentials for GitHub, CF and Webhook.</P><P><STRONG>step 2:&nbsp;</STRONG>Let’s first go with GitHub credentials. If your GitHub repository is private, you will need to provide with the necessary credentials to access it. You can skip this in case of public repository.</P><P><STRONG>step 3:&nbsp;</STRONG>In Create Credentials popup make sure you give unique name within the subaccount. Select the type as basic authentication and provide your git credentials. Use <STRONG>personal access token</STRONG> as a password. Then choose create.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_3-1714038209508.png" style="width: 303px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101705iAFC1F3CDEC88C857/image-dimensions/303x371?v=v2" width="303" height="371" role="button" title="Nivedha_T_3-1714038209508.png" alt="Nivedha_T_3-1714038209508.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_4-1714038235938.png" style="width: 465px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101707i21644861124F8A24/image-dimensions/465x222?v=v2" width="465" height="222" role="button" title="Nivedha_T_4-1714038235938.png" alt="Nivedha_T_4-1714038235938.png" /></span></P><P><STRONG>step 4:&nbsp;</STRONG>Now repeat the same steps for adding CF credentials. Here you have to provide your SAP BTP cockpit username and password.</P><P><STRONG>step 5:&nbsp;</STRONG>For configuring webhook credentials change the type from Basic Authentication to <STRONG>Webhook Secret</STRONG>. Then generate the webhook secret copy it somewhere safe and finally choose Create.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_5-1714038288611.png" style="width: 439px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101710iC1B6E221642D214B/image-dimensions/439x177?v=v2" width="439" height="177" role="button" title="Nivedha_T_5-1714038288611.png" alt="Nivedha_T_5-1714038288611.png" /></span></P><P>&nbsp;</P><P>&nbsp;<STRONG>Add a CI/CD job</STRONG></P><P><STRONG>step 1:&nbsp;</STRONG>Navigate to the&nbsp;Jobs&nbsp;tab and choose the icon to add a new job. Provide unique name for the job.</P><P><STRONG>step 2:&nbsp;</STRONG>Click on the icon inside the Repository input field. You will get a popup then choose add repository., Enter your git repository clone URL. You can add any name of your choice. It need not to be matched with your repo. Choose your saved credentials for git and webhook.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_6-1714038348441.png" style="width: 450px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101716i4F49B0C3F03D650E/image-dimensions/450x234?v=v2" width="450" height="234" role="button" title="Nivedha_T_6-1714038348441.png" alt="Nivedha_T_6-1714038348441.png" /></span></P><P><STRONG>step 3:&nbsp;</STRONG>For Branch, enter the GitHub branch of your repository from which you want to receive push events. In this example, master. Select&nbsp;Cloud Foundry Environment from the dropdown in the&nbsp;Pipeline&nbsp;field.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_7-1714038384928.png" style="width: 244px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101718iE9F32DE53FA45346/image-dimensions/244x352?v=v2" width="244" height="352" role="button" title="Nivedha_T_7-1714038384928.png" alt="Nivedha_T_7-1714038384928.png" /></span></P><P><STRONG>step 4:&nbsp;</STRONG>In the BUILD section choose npm as your build tool. For Build Tool Version, select the latest node version.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_8-1714038436013.png" style="width: 248px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101720i8F5F1845B378364A/image-dimensions/248x297?v=v2" width="248" height="297" role="button" title="Nivedha_T_8-1714038436013.png" alt="Nivedha_T_8-1714038436013.png" /></span></P><P><STRONG>step 5:&nbsp;</STRONG>Under the Release section, switch on the execution of the Deploy to Cloud Foundry Space. Since we have already given name in the manifest file, we can skip the name field.&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_9-1714038518254.png" style="width: 298px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101721iE572908A9687EC7A/image-dimensions/298x294?v=v2" width="298" height="294" role="button" title="Nivedha_T_9-1714038518254.png" alt="Nivedha_T_9-1714038518254.png" /></span></P><P>Replace the placeholders <STRONG>API</STRONG> <STRONG>Endpoint</STRONG>, <STRONG>Org Name</STRONG> and <STRONG>Space</STRONG> with the values in the Cloud Foundry environment to which you want to deploy. You can get the values from your subaccount overview in the SAP BTP cockpit.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_10-1714038565181.png" style="width: 490px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101722i740487E6272C0C3D/image-dimensions/490x196?v=v2" width="490" height="196" role="button" title="Nivedha_T_10-1714038565181.png" alt="Nivedha_T_10-1714038565181.png" /></span></P><P><STRONG>step 6:&nbsp;</STRONG>For Deploy Type, choose standard and select your previously created CF credentials. Leave remaining fields default then finally choose create.</P><P>&nbsp;</P><P><STRONG>Create a GitHub Webhook</STRONG></P><P>GitHub webhooks allow you to automate CI/CD builds. Whenever you push changes to your GitHub repository, a webhook push event is sent to the service to trigger a build of the connected job.</P><P><STRONG>step 1:&nbsp;</STRONG>To create a webhook in GitHub, you need payload URL. Select your repository and choose Webhook Data from the right pane. You will see a below popup:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_11-1714038707757.png" style="width: 487px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101723i0AF8C78BED2E97B8/image-dimensions/487x184?v=v2" width="487" height="184" role="button" title="Nivedha_T_11-1714038707757.png" alt="Nivedha_T_11-1714038707757.png" /></span></P><P><STRONG>step 2:&nbsp;</STRONG>Now sign in into your GitHub account. In your project, go to the Settings tab.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_12-1714038788620.png" style="width: 480px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101724i32F41C96C893A76D/image-dimensions/480x204?v=v2" width="480" height="204" role="button" title="Nivedha_T_12-1714038788620.png" alt="Nivedha_T_12-1714038788620.png" /></span></P><P><STRONG>step 3:&nbsp;</STRONG>From the left pane, choose Webhooks then Add webhook. Enter the Payload URL, Content type from the popup and &nbsp;the Secret that you had saved previously. For all other settings, leave the default values and add.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_13-1714038828172.png" style="width: 461px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101725i00271C4ADBF290D8/image-dimensions/461x224?v=v2" width="461" height="224" role="button" title="Nivedha_T_13-1714038828172.png" alt="Nivedha_T_13-1714038828172.png" /></span></P><P>&nbsp;</P><P><STRONG>Verify your Build</STRONG></P><P>You have to trigger your job manually the first time after creation.</P><P><STRONG>step 1:&nbsp;</STRONG>In Jobs tab, select your job and choose Run. Verify that a new tile appears in the Builds view. This tile should be marked as running.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_14-1714038864936.png" style="width: 515px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101726i78211628357DA973/image-dimensions/515x228?v=v2" width="515" height="228" role="button" title="Nivedha_T_14-1714038864936.png" alt="Nivedha_T_14-1714038864936.png" /></span></P><P><STRONG>step 2:&nbsp;</STRONG>Wait until the job has finished and verify that the build tile is marked as successful.</P><P><STRONG>step 3:&nbsp;</STRONG>Navigate to your space in the SAP BTP cockpit and check the list of installed applications. Now you can see your application got added.&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_15-1714038910664.png" style="width: 532px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101727i04C89D159D0B8D8C/image-dimensions/532x176?v=v2" width="532" height="176" role="button" title="Nivedha_T_15-1714038910664.png" alt="Nivedha_T_15-1714038910664.png" /></span></P><P><STRONG>step 4:&nbsp;</STRONG>Select your application and launch it with the application route. You can see the react application deployed.&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_17-1714039066134.png" style="width: 468px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101729iD5D3A46C1D22BA2F/image-dimensions/468x251?v=v2" width="468" height="251" role="button" title="Nivedha_T_17-1714039066134.png" alt="Nivedha_T_17-1714039066134.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nivedha_T_19-1714039263895.png" style="width: 280px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101731iFC503F34E7BD526F/image-dimensions/280x307?v=v2" width="280" height="307" role="button" title="Nivedha_T_19-1714039263895.png" alt="Nivedha_T_19-1714039263895.png" /></span></P><P>&nbsp;</P><P>You have now successfully created a CI/CD pipeline and deployed your Reactjs application to SAP BTP. From now on for every commit you can see the job getting triggered with commit id displayed under builds section.</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2024-04-25T12:03:01.997000+02:00 https://community.sap.com/t5/human-capital-management-q-a/1h2024-preview-vs-prod-new-release-universal-changes-unilateral-application/qaq-p/13705830 1H2024 Preview vs Prod New Release Universal Changes - Unilateral Application of Changes/Features 2024-05-18T15:26:16.584000+02:00 mandiarney https://community.sap.com/t5/user/viewprofilepage/user-id/107139 <P>Hello all.&nbsp;</P><P>While performing initial validation of the Production 1H2024 New Release this morning, a discussion was initiated regarding how certain previously relayed changes have been adjusted without being disclosed in full and regression test allowances made to timelines for impact analysis.&nbsp;</P><P>There were several major feature changes, including permissions and universally applied functionality, which were repealed or adjusted in some fashion in comparison to what was provided in the New Release What's New Viewer following Prev implementation. Not in relation to known issues, but rather, at the behest of customers due to failure to consider impact to customers for universally leveraged changes without the opportunity for change mgmt with sys users.&nbsp;</P><P>We now have only 3 weeks to do complete E2E testing in all mods with various scenarios. This is running concurrently to business process owner exposure and experience sessions to provide insight into election options and new release mandatory feature impact/consideration for the processes they support.&nbsp;</P><P>How are we able to successfully regression test whatever has been changed before application in Prod? Is there a full list of all changes released by a certain date to all customers, or are changes being leveraged up and until Prod implementation? I am aware of patches and known issues, but these changes are to areas that were previously configured as universally mandated or their type was noted as Automatically Applied/Need to Enable. Now their status/type has changed and requires supplemental review and potential application.</P><P>The New Org Chart, for instance. It was not enabled in our Prod instance, while the New People Profile was. The best practice recommendation from SF was to enable or disable these two universally applied features in tandem. Yet, they deviated from their own best practice when implementing the Prod New Release. This is a poor practice for updates. This is only one situation encountered this morning, and I'm sure that the E2E post-Prod validation done by our HR customers in various modules will render significantly different results than previously encountered in Prev. This also inhibits successful contingency planning and upends previously communicated business process updates and user expectations. There is also the consideration of change requirement approval/awareness for highly regulated IT systems groups.</P><P>This change management approach really needs to be addressed. And soon. We will have customer system confidence impacts due to lack of conveyance, transparency, and cohesive actions at several levels. Any insight into planned improvements and recognition of this issue would be greatly appreciated so we're able to communicate this to our customers.&nbsp;</P><P>Thanks.&nbsp;</P> 2024-05-18T15:26:16.584000+02:00