Currently, my company has on-premises servers which host build process and eventual deployments on Wildfly26. Existing build process involves two different war files, one for backend giftcard-services.war and the other for front end giftcard-backoffice.war.
I have been tasked to automate deployments on on-premises servers using CI/CD on Azure DevOps.
I have found a way for on-premises server to communicate to Azure DevOps using deployment groups but I am struggling with build process to create required war files (giftcard-services.war and giftcard-backoffice.war) using CI/CD on Azure DevOps. Kindly help me in this regard.
Existing build process using Gradle
We use gradle to build .war files and dependencies. Currently, we only use gradle clean war command to build (Snapshot attached) and both .war files (giftcard-services.war and giftcard-backoffice.war) appear which we can upload manually on wildfly server for deployments.
Snapshots of deployments on Wildfly using existing build process are attached with this message.
Note: Repository with latest code has already been migrated from on-premises server to Azure Repos.