Hi Team,
I wanted to divide the build and deploy jobs in Jenkins for the AEM maven project. Is that something can be able to do?or what other options do I have?
Thanks In Advance.
Solved! Go to Solution.
You should define one Maven profile per environment (dev, qa, uat, prod) and for each one of them, you have to define all steps required to build and deploy (e.g: custom steps, ips configuration, etc) per environment.
The options are:
1) To create one job per environment and configure each of them (parameters, maven command, etc) depending on the environment selected, or
2) Have one job to build and deploy all environments, which implies to read all properties (environments and parameters per environments) and depending on the environment selected.
Views
Replies
Total Likes
First of all, there are many ways to resolve this.
For example, you can do it like this
Please note few things
Let me know if you need more details to resolve this
What is the reason for this. Using Maven, you can build and compile projects.
Views
Replies
Total Likes
Hi Diego, Thanks for the info. Let me try that way. I am very new to setting up Jenkin jobs. This is my first time doing.
I will follow this way. Thanks
Views
Replies
Total Likes
Hi Scott,
For the DEV integration environment we wanted to build and deploy in one shot but for other environments say QA, UAT, and Prod we don't want to build the same code we wanted to deploy the DEV build to all these environments. That is the only main reason.
Thanks
Uma
Views
Replies
Total Likes
You should define one Maven profile per environment (dev, qa, uat, prod) and for each one of them, you have to define all steps required to build and deploy (e.g: custom steps, ips configuration, etc) per environment.
The options are:
1) To create one job per environment and configure each of them (parameters, maven command, etc) depending on the environment selected, or
2) Have one job to build and deploy all environments, which implies to read all properties (environments and parameters per environments) and depending on the environment selected.
Views
Replies
Total Likes
Views
Likes
Replies