Archive for September 2015

Don’t put spaces in your Jenkins job names

September 24, 2015

Use a dash or underscore instead of a space in your Jenkins job names.  When you put a space in them you get spaces in the workspace.  While it is annoying to deal with this directory name on the command line you can get by.  Most of your code will be fine, but some shell scripts may not work.  We recently moved from Crashlytics to Fabric pod and some file script is derived data. The space in $PODS_ROOT broke this:

#!/bin/sh
${PODS_ROOT}/Fabric/Fabric.framework/run some big strings

Another benefit is that URLs for you jobs will not have %20 sprinkled in them.