Continuous Integration (CI) tools facilitate periodic integration and merging of all developer workspaces with a shared mainline. It avoids code integration issues in development environments.
WSO2 App Factory comes by default with Jenkins server as the CI tool. You can integrate a tool of your choice using the
<ContinuousIntegrationProvider name="" enabled=""> element in
Following sample code shows how to add a new CI tool to App Factory:
The elements of the sample configuration are explained below. You can use this information to edit the file according to your requirements.
XML elements of the sample code
|Property Name||Description||Type||Default Value||Fixed Values||Mandatory/Optional|
|CI provider name.||String|
|Enable or disable mentioned CI.||String||true, false|
|Base URL of Jenkins service.||String|
|Enable authentication by default.||String||true, false|
|Maven home configuration ID.||String|
|Jenkins's default role.||String|
|Jenkins's permission configuration for a given project.||String|
|Listener priority level for app factory application event.||Integer|
|API Token key of Jenkins. Token should be set according to the running instance of Jenkins.||String|
For information on building and deploying your applications and managing repository, see Checking in and Branching the Code.