Skip to content

NeedMoreDesu/jenkins_ios_distribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is configurations with a number of preset things for building iOS Enterprise apps & distribute them via QR code or internet link, with slackbot integration.

It is meant to be run on macOS host.

  1. Download&Install Jenkins, Xcode, qrencode.
  2. Run install_script from root folder. !WARNING! it will erase all your previous jenkins configurations, so if you want to save them, copy /Users/Shared/Jenkins somewhere.
  • It opens login keychain that sits in jenkins and is used when you build. Drag&Drop your certificate here.
  1. You are now logged in as jenkins in terminal (check that with whoami). Run ./generate_https_certificate.sh to create local https certificates (you need https to install enterprise builds). You probably want to change parameters in the script.
  • You want to change /Library/Preferences/org.jenkins-ci.plist in case you've changed something
  1. Run jenkins_reload from root folder. This will reload jenkins and print jenkins log into console. If some errors occure during startup, you will see it here.
  2. Open localhost:8080 in your browser. Jenkins should be up here.
  3. Login: tester, password: test
  4. Jenkins -> Manage Jenkins -> Keychains and Provisioning Profiles Management, add your profile here.
  5. Jenkins -> your-project-name -> Configure, change everything with "your" to your relevant values
  • You might want to delete slack bot intergation, or to create webhook https://api.slack.com/tutorials/slack-apps-hello-world
  • Build Environment -> Keychains and Code Signing Identitites, select your profile here
  • You may want to setup webhook with your git system (it calls your url when someone pushes to master, triggering build)
  1. Your project should look like on the pictures (grayed out team because confidentiality):

Target -> General:

Target -> General

Target -> Build Settings:

Target -> Build Settings

Enjoy :)

About

Pre-configured jenkins suited for enterprise distribution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published