Next we need to create a build.json file. This file will include the operating system specific settings that the BuildBots Buildbots will use to produce your app.
Create build.json File
To create this file, navigate to your This file needs to be held in your project root folder - this is the folder that contains the config.xml file and the rest of your Cordova folders that you generated on the last step.
Create build.json File
To create this file yourself, simply create a new blank text file and name it build.This file only needs some basic informationjson
Copy and paste the code below into your new build.json file:
Code Block | ||||
---|---|---|---|---|
| ||||
{ "android": { "release": { "keystore": "myCordovaApp.jks", "storePassword": "", "alias": "myCordovaAppName", "password" : "", "keystoreType": "" } } } |
...
Info |
---|
Note: This example shows Android only, however you can include multiple operating systems within the one build.json, simply by adding "ios" or "windows" to the JSON structure, and following the appropriate steps in this tutorial for those operating systems. |
Download build.json
Alternatively, you can download an example build.json file here:
Download Android Example build.jsonYou can leave your passwords blank (for extra
Description of Values
The password fields are intentionally left blank - for added security, you'll be prompted for these when running the build request), and the . The only fields you'll need to enter are:
...
Info |
---|
Note: For developers used to building Cordova apps, you'll notice we haven't included section for "debug" details in the build.json. These are generated automatically for you by the BuildBotsBuildbots, so there is no need to include them here. |
...