Maven plugin proxy deployment error

Hi All,

Even if I defined proxy as MAVEN_OPTS in my Jenkinsfile , maven settings.xml and mvn command I still received an error as below says host no resolved.

Your support will be appreciate if you can help what should I do further.

 sh "mvn apigee-enterprise:deploy -Ptest -Dusername=${apigeeUsername} -Dpassword=${apigeePassword} -Dhttp.proxyHost=http://-Dhttp.proxyPort=-Dhttps.proxyHost= -Dhttps.proxyPort=" 
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.115 s
[INFO] Finished at: 2019-12-17T14:56:29+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.apigee.build-tools.enterprise4g:apigee-edge-maven-plugin:1.1.7:deploy (default-cli) on project wiservice_api_v1: : MojoExecutionException: Unknown host api.corpinter.net -> [Help 1]
0 0 104
0 REPLIES 0