Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.16 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.16 KB

Jenkins TestFlight Uploader

Groovy script for uploading CI builds to TestFlight

I wrote this script after TestFlight Jenkins plugin (versions 1.3.x) continuously crashed my Jenkins and was simply unusable.

This simple script will upload your .ipa or .apk file to your TestFlight account (uses TestFlight upload API).

How to use:

  1. Assuming you have Jenkins installed on your server (brew install jenkins)
  2. Install Groovy Plugin for Jenkins
  3. Add an "Execute Groovy Script" build step to the end of your build job
  4. Select "Groovy Command" option and copy/paste this script into the edit box.
  5. Configure the script by replacing the constant placeholders at the top of the script.
  6. Create a notes.txt and place it on your build machine. This file needs to be accessible to the script. Set testFlightNotes constant to point to it (absolute path).

This script was tested with Jenkins 1.522 using Git SCM and Groovy 2.1.6.

Feedback

rotem@100grams.nl