Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>We are currently using Jenkins 1.518 with the XCode Integration Plugin 1.3.3. from <a href="https://wiki.jenkins-ci.org/display/JENKINS/Xcode+Plugin" rel="nofollow">https://wiki.jenkins-ci.org/display/JENKINS/Xcode+Plugin</a>.</p> <p>We are configuring and using it through the web-interface Jenkins provides, so I am unfortunately not really familiar with your exact problem.</p> <hr> <p>For the Worklight build we execute the worklight ANT tasks according to:</p> <p><a href="http://pic.dhe.ibm.com/infocenter/wrklight/v5r0m6/topic/com.ibm.worklight.help.doc/devref/r_ant_tasks_for_building_and_dep.html?resultof=%22%61%6e%74%22%20" rel="nofollow">http://pic.dhe.ibm.com/infocenter/wrklight/v5r0m6/topic/com.ibm.worklight.help.doc/devref/r_ant_tasks_for_building_and_dep.html?resultof=%22%61%6e%74%22%20</a></p> <hr> <p>For the iOS build we have a second jenkins server that is kicked-off by the first one, once worklight build is complete and the iOS native folder is copied to the right place using FTP:</p> <p>We had to configure the Xcode Builder configuration in the Jenkins global config: </p> <pre><code>xcodebuild executable path /usr/bin/xcodebuild agvtool executable path /usr/bin/agvtool xcrun executable path /usr/bin/xcrun </code></pre> <p>In the specific build job for the iOS project we have 2 build steps: Execute Shell and XCode:</p> <p>Execute Shell build step: some commands before the xcode plugin build (MASTER_BUILD_NUMBER is a simple String parameter that we set/pass to parameterize our builds):</p> <pre><code>echo $MASTER_BUILD_NUMBER rm -rf Build_* cp -rf /Users/Shared/Jenkins/UPLOAD/$MASTER_BUILD_NUMBER . cd $MASTER_BUILD_NUMBER/native chmod u+x buildtime.sh </code></pre> <p>XCode build step: for the xcode plugin part of the build we configured:</p> <ul> <li>Xcode Project Directory: ${MASTER_BUILD_NUMBER}/native</li> <li>check the "Build IPA" checkbox</li> <li>Build output directory: ${HOME}/Home/jobs/XCODE_buildTest1/workspace/${MASTER_BUILD_NUMBER}/native/build/Release-iphoneos</li> <li>Code Signing Identity: iPhone Distribution: XXX Ltd.</li> <li>Embedded Profile: ${HOME}/Library/MobileDevice/Provisioning Profiles/XXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX.mobileprovision</li> </ul> <p>(.. the XXX's are our company specific data)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload