Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There are two plugins in jenkins related to ssh that can be used: <a href="https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+SSH+Plugin" rel="nofollow"><strong>Publish Over SSH</strong></a> and <a href="https://wiki.jenkins-ci.org/display/JENKINS/SSH+plugin" rel="nofollow"><strong>Jenkins SSH plugin</strong></a>.</p> <p>The first plugin gives the availability to set a global ssh key and the second plugin gives the availability to set various ssh keys.</p> <p>Next you need to install two more plugins that will be used in the project configuration <a href="https://wiki.jenkins-ci.org/display/JENKINS/Github+Plugin" rel="nofollow"><strong>GitHub Plugin</strong></a> and <a href="https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin" rel="nofollow"><strong>Jenkins Git Plugin</strong></a>.</p> <p>The GitHub plugin will be used to set the <strong>GitHub project</strong>. The Jenkins Git plugin will be used to set the "URL of repository" and other things like a branch etc.</p> <p>All the plugins are available from the tab available in the Jenkins Plugin Manager.</p> <p>Copied from <a href="http://ideastouch.blogspot.com/2011/11/ios-hudson-git-testflight.html" rel="nofollow">my blog post, on the topic</a>:</p> <blockquote> <p>Jenkins configuration:<br /> The Jenkins SSH plugin give the availability to set private key per host, the second plugin do the job for a global host.<br /> If Jenkins SSH plugin is used, then in SSH remote hosts write the host, user, passphrase and the path to the private key.<br /> If Publish Over SSH is used, then in SSH setting write the passphrase and paste the private key or write the path to it.<br /> The project configuration is:<br /> GitHub Project <a href="https://github.com/GitUser/iOS-project/" rel="nofollow">https://github.com/GitUser/iOS-project/</a><br /> *Source Code Management<br /> -> Git<br /> -> -> Repositories<br /> -> -> -> URL of repository: git@github.com:GitUser/iOS-project.git<br /> -- It is up to you configure a branch or take the default one --<br /> *Build Triggers<br /> -> Poll SCM -- Seted --<br /> -> Schedule: * * * * * <br /> *Build<br /> -> Executed Shell<br /></p> </blockquote> <pre><code>-&gt; -&gt; Command: xcodebuild -target iOS-project -configuration AdHoc -sdk iphoneos5.0 clean -&gt; -&gt; Command: agvtool new-version -all $BUILD_NUMBER -&gt; -&gt; Command: xcodebuild -target iOS-project -configuration AdHoc -sdk iphoneos5.0 -&gt; -&gt; Command: xcrun -sdk iphoneos5.0 PackageApplication -v $WORKSPACE/build/AdHoc-iphoneos/iOS-project.app -o $WORKSPACE/build/AdHoc-iphoneos/iOS-project-$BUILD_NUMBER.ipa PROVISIONING_PROFILE="&lt;provisioning profile&gt;" -&gt; -&gt; Command: curl http://testflightapp.com/api/builds.json -F file=@$WORKSPACE/build/AdHoc-iphoneos/iCushion-1.0-$BUILD_NUMBER.ipa -F api_token=&lt;api_token&gt; -F team_token=&lt;team_token&gt; -F notes="This is an autodeploy build from Jenkins!" -F notify=True -F distribution_lists="&lt;distributedlist 1&gt;, &lt;distributedlist 2&gt;" </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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