Hi,
I would like to deploy apiproxy to the test and prod environment through Jenkins. Below you can see my project folder structure and pom files.
In my jenkinsfile tried 2 different command for deploy but for both of them I received an error.Could you please help me for how I can resolve the issue ?
Project Folder Structure.
h "mvn apigee-enterprise:deploy -Ptest -Dusername=${apigeeUsername} -Dpassword=${apigeePassword} "
h "mvn -f wiservice_api_v1/pom.xml install -Ptest -Dusername=${apigeeUsername} -Dpassword=${apigeePassword} -Dapigee.config.options=update"
Regards,
For your first error,
Check your shared-pom.xml file. You need to have a profile there,
<profiles><profile><id>test</id>
Check this sample,
Also check which host your are using.
Hi,
I have already a profile in my shared-pom.xml. I added the attachment in question.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |