SAP / jenkins-library

Jenkins shared library for Continuous Delivery pipelines.
https://www.project-piper.io
Apache License 2.0
777 stars 584 forks source link

integrationArtifactDeploy always returns bad request (HTTP 400) #4820

Closed elPerro72 closed 7 months ago

elPerro72 commented 7 months ago

Using the command below in a Azure devops pipeline always returns "bad request". Note that we are able to download an iflow. But deploying the downloaded iflow fails.

Command that fails: piper integrationArtifactDeploy --verbose --apiServiceKey $(API_SERVICE_KEY) --integrationFlowId "Test"

I checked the source code and it looks like no "payload" containing the iflow is sent/attached

elPerro72 commented 7 months ago

I was wrong. Turned out that in my flow the runtime profile was pointing to SAP PO runtime instead of cloud. That was causing the bad request error