Most application development environments have Continuous Integration (CI) tools to facilitate periodically integrating and merging all developer workspaces with a shared mainline in order to avoid integration issues. WSO2 App Factory comes by default with several CI tools such as Jenkins, and we work on facilitating most of the commonly-used types with every new version. In the meantime, if you cannot find the tool of your choice, you can add it 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.