Closed SGoutami closed 4 years ago
@SGoutami - do you have a https proxy within your corporate network ? Looks like the plugin is not able to hit api.enterprise.apigee.com
yes we do have proxy set up and i have added the log for reference
Please remove the logs added above as it has some sensitive info and please change your Apigee password.
1.2.1
https
is supported - <protocol>https</protocol>
From the logs above, I see there is a settings.xml in your Jenkins directory - /root/.m2/settings.xml
. So just add the config there if its not already configured
All the data above in the log were mocked and none were sensitive. Anyways I have removed the log. Let me give it a try. Thank you.
No luck yet.Same deploy-bundle issue with connection timeout error.
[ERROR] Failed to execute goal io.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:1.2.1:deploy (deploy-bundle) on project mock: connect timed out
The MojoExecutionException got removed
Did you configure the proxy in $HOME/.m2/settings.xml ?
If you have configured it correctly, in your maven logs you should see something like set proxy to {host}:{port}
that you configured in your settings.xml
NOTE: It has to be https
protocol
the settings.xml is configured nicely. But I am still getting the error: [ERROR] Failed to execute goal io.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:1.2.1:deploy (deploy-bundle) on project mock: connect timed out
What can be other possible places for the error, which I can give a try ?
Deployment is Working fine now. You were correct with the proxy set up.
[ERROR] Failed to execute goal io.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:1.1.7:deploy (deploy-bundle) on project APIProxy: : MojoExecutionException: connect timed out -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:1.1.7:deploy (deploy-bundle) on project APIProxy
when the respective parent pom is used to deploy the package to apigee edge, the above error is faced. tried it with version 1.1.4, 1.1.6, 1.1.7, 2.0.0.