Designer 10.7 | webMethods Mobile Development | Testing, Building, and Installing a Mobile Application | Building a Mobile Project | Running a Jenkins Build | Specifying a Run Configuration for a Jenkins Build
 
Specifying a Run Configuration for a Jenkins Build
Before you run a Jenkins build of your mobile project, you must create a run configuration for this project.
*To create or modify a run configuration:
1. Locate the mobile project in the Package Explorer.
2. Right-click, and select Run As > Run Configurations... from the context menu.
3. In the Run Configurations dialog box, do one of the following:
a. Select an existing run configuration for a mobile project from the Mobile: Jenkins Build list on the left side.
b. Create a new run configuration for a mobile project by selecting the project from the Mobile: Jenkins Build list on the left side and then clicking in the toolbar.
4. On the Jenkins tab on the right side, modify the information as required:
Important:
If you run the build, the following properties are stored for all future builds that use this run configuration and cannot be modified any longer:
*Project, Server, Build Node Label, and Installation Directory
*Target Bundle, Id, and Job Name (both for Android and iOS builds)
If you want to run a build of your mobile project with different properties, you must specify a new run configuration.
For this section
And this field
You can do this
Build Properties
Project
Click Browse, and locate the Mobile Project.
Server
Enter a Jenkins server you specified in the Mobile Development preferences.
Click Add a Jenkins build server to specify a new server connection as described in Mobile Development Preferences.
Build Node Label
iOS builds cannot be done on a Windows machine. If Jenkins is running on Windows and you want to build for iOS, you must set up a slave and enter the name of the Jenkins slave that executes the build job in this field.
Installation Directory
Enter the path to the Mobile Suite on the Jenkins slave.
Version
Enter the version number.
Code Generation
Select Enable code generation with the next build to have Jenkins generate the project source files before building the project. Deselect, if you want to skip this step.
Build for Android
Select if you want to build for an Android device, and specify the following fields.
Target
Select from the following build types:
*Release (Only use for debug and test purposes on your devices. The source code will not be obfuscated.)
*Debug (Use to publish the final build. The source code will be obfuscated.)
Bundle Id
Enter the bundle id.
Job Name
The name of the Jenkins job. The job contains the necessary build steps to build a mobile application. You can specify the name or use the default name. Entering ${projectName} uses the name of the mobile project in Software AG Designer as a parameter.
Build for iOS
Select if you want to build for an iOS device, and specify the following fields.
Target
Select from the following build types:
*AppStore (Use for distribution in Apple's App Store. The final build can be uploaded to the App Store.)
*Enterprise (Use for inhouse distribution. The final build can be distributed within your organization.)
*Ad Hoc (Use for inhouse distribution for testing. The final build can be installed on a limited number of registered devices.)
*Dev Release (Use for testing. The final build can be installed on test devices.)
*Sim Release (Use for testing in a simulator. This target does not require a provisioning profile.)
*XCode project (Only an Xcode project will be created. Use this target if you want to use Xcode to debug an application in a simulator).
Bundle Id
Enter the bundle id.
Job Name
The name of the Jenkins job. The job contains the necessary build steps to build a mobile application. You can specify the name or use the default name. Entering ${projectName} uses the name of the mobile project in Software AG Designer as a parameter.
5. Click Apply to save the changes, or click Revert to restore the original specification.
6. To run the build, click Run. Otherwise, click Close.
Related Topics