Deploy with creating new revision

semihural
Participant I

Hi,

I was able to deploy my proxy but after I would like to run my Jenkins to create a new revision I received an error says "MojoExecutionException: no JSON input found".

How can I handle this issue?

<pre>=============Initializing Maven Deployment================
[INFO] 
Request prepared for the server 
 **************************
GET  <a href="https://myhost/management/v1/organizations/public-mb-cars/apis/wiservice_api_v1/deployments">https://myhost/management/v1/organizations/public-mb-cars/apis/wiservice_api_v1/deployments</a>
accept: application/json
accept-encoding: gzip
authorization: Basic [Not shown in log]
[INFO] Active Revision: 12
[INFO] Updating Active Revision: 12
[INFO] 

=============Updating App================
[INFO] 
Request prepared for the server 
 **************************
POST  <a href="https://myhost/management/v1/organizations/public-mb-cars/apis/wiservice_api_v1/revisions/12?validate=true">https://myhost/management/v1/organizations/public-mb-cars/apis/wiservice_api_v1/revisions/12?validate=true</a>
accept: application/json
accept-encoding: gzip
authorization: Basic [Not shown in log]
content-type: application/octet-stream
 [Request body contains data, not shown] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.976 s
[INFO] Finished at: 2019-12-18T12:28:36+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:1.1.7:deploy (deploy-bundle-step) on project wiservice_api_v1: : MojoExecutionException: no JSON input found -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException">http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException</a>
[Pipeline] slackSend
0 2 214
2 REPLIES 2

Semih, I think you had a similar question in another thread and Sai has made a suggestion there. So let's try to get you the help you need on that thread, with the maven plugins, rather than scattering questions around in various threads.

That is correct. Appreciate again for Sai's support. I am waiting his feedbacks