Version Control and CI/CD with Mendix and Azure DevOps

0
We are deploying Mendix using CI/CD in your Azure Devops and bitbucket used as code repo .We configured project folder in Mendix build pack ‘docker-mendix-buildpack’ as per pre-requisite to build Mendix application .We are able to commit the code bitbucket using the command line to mendix-buildpack folder structure, But we are not able to commit file using bitbucket in Mendix studio directly to mendix-buildpack folder structure .   Can you please help us how to commit files using studio  direclty to Mendix build pack ‘docker-mendix-buildpack’ folder structure (which configured on Azure DevOps service) 
asked
2 answers
0

Not the perfect solution, but you can use Mendix Team Server as main repo with git configured instead of svn.

 

Then you can have a pipeline that mirrors/copies everything on Team Server Git to Azure Repos or Bitbucket, and have it run daily or in any desired interval of time. 

answered
0

It’s not possible to configure studio pro to manage mendix files in other structure than the default. Therefore your best bet is to change your Dockerfile to meet the requirements. So your directory structure must be:

 


- Dockerfile
- docker-buildpack/ (ideally have this directory injected during CI pipeline run)
- myapp.mpr
- theme/
….

 

 

answered