AX 2012 DEVOPS Build, Release setup and configuration

After the initial setup in AX 2012 Build process using AZURE DEVOPS

Next step is to setup the build template and run the build process to get model and modelstore file which can be deployed to any environments.

Goto your AZURE - DEVOPS dashboard by login to https://visualstudio.microsoft.com/vso/

If you dont have a account, you can register for one free.





Azure DEVOPS dashboard



Select project for build process setup
Select builds
Click new pipeline
Select Team foundation version control or the one you setup in intial step to move code to azure repo

Select build reporsitory
It should be the one you selected in initial setup steps
Here select TFVC reporsitory
Server path is the branch for which you want the build run
Local path under - sourcesdirectory
click continue for next step
Select a build template - empty pipeline and add the build steps as per the AX build process order
Now at the final step of build pipeline creation
If you haven't got a hosted agent on azure, select default in private agents from agents drop down

Available agents
Click + button nex to agent job and
Add build tools by entering "Dynamics" in search box. Select the appropriate option and click apply

Once build tools applied downloaded to your project, different AX build steps are available to add to the agent job

select step and provide correct parameters and set variables
Triggers can be added for build runs
Once the build steps are added
Save the template and clikc queue to run build

For a private default build agent. This need to be setup as per the microsoft instruction in
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/agents?view=azure-devops

Release

The build model store from above steps can be used to deploy to QA and production environment

Select release and create a release pipeline, similar to above build template setup.

More detail on release setup can found in https://docs.microsoft.com/en-us/azure/devops/pipelines/release/define-multistage-release-process?view=azure-devops


Thanks for reading. Hope this process makes your build and release process smoother and efficient.



Comments

Post a Comment

Popular posts from this blog

AX 2012 Build process using AZURE DEVOPS

What is Microsoft Power Platform?