Mobile Development 10.11 | webMethods Mobile SuiteWeb Help | Using webMethods Mobile Designer | Building Mobile Application Projects Using Jenkins | Advanced Settings | Using the Jenkins-Multi-Build Ant Task
 
Using the Jenkins-Multi-Build Ant Task
You can start a Jenkins remote multi-build process by calling the Jenkins-Multi-Build Ant task from any mobile project that supports the Jenkins plugin.
The Jenkins-Multi-Build Ant task has similar properties as the +Target-Build Ant task, with a few additions. You must supply values for the following Ant properties:
Property
Description
handset
Required. The name of the target to build (e.g., "Android_generic_AndroidWVGA800"). These correspond to the file names in your project's targets folder.
langgroup
Required. The language group to build for. Most mobile projects developed with the Mobile Development perspective of Software AG Designer will use "I18N" here.
target
Required. The type of build to create. For Android builds, this can only be release or debug. For iOS builds, this can be appstore, enterprise, ad hoc, sim release, dev release, or xcode project.
version
Required. The version number of the application to build, e.g. "1.3.2".
jenkins.server
Required. The root page of the server to connect to, eg: "http://127.0.0.1:8080".
jenkins.job.name
Required. The name of the Jenkins job to execute to create this build.
jenkins.username
Optional. The user name used to connect to the Jenkins server. This user must have permission to create Jenkins jobs.
jenkins.password
Optional. The password used to connect to the Jenkins server.
jenkins.bundle.zip.includes
Optional. A semicolon delimited list of files and folders to include in the bundle passed to the server. The default value is "", which will upload everything that is not excluded or ignored.
jenkins.bundle.zip.excludes
Optional. A semicolon delimited list of files and folders to exclude from the bundle passed to the server. The default is _temp_;bin;Builds.
jenkins.bundle.zip.ignores
Optional. A semicolon delimited list of files and folders to ignore when building the bundle for the server. This list is intended for use to exclude source control metadata files (e.g., .svn folders). The default value is .svn.
jenkins.follow.console
Optional. If set to true, the build process will not detach from the Jenkins server after the build has started. Console output from the Jenkins build job will be piped through to the local console. The default is true.
jenkins.needs.xss.protection
Optional. Normally, Mobile Designer automatically detects if your server uses Cross Site Request Forgery Protection. However, this may not be possible in all cases. Set to true if your server uses Cross Site Request Forgery Protection, but Mobile Designer cannot detect it.
jenkins.skip.code.generation
Optional. If set to true, the created build job will omit the Generate Mobile Designer Sources The default is false.