Pulkit Singhal edited a comment on Bug JENKINS-15941

I don't think I attached the logs from my end before: https://gist.github.com/pulkitsinghal/4700158

I think for me the primary problem was that the script in my "Run Script" phase wasn't being handled properly by the xcode plugin. I don't think it was being executed at all.

# Auto Increment Version Script
buildPlist=${INFOPLIST_FILE}
CFBuildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBuildNumber" $buildPlist)
CFBuildNumber=$(($CFBuildNumber + 1))
/usr/libexec/PlistBuddy -c "Set :CFBuildNumber $CFBuildNumber" $buildPlist
CFBuildDate=$(date)
/usr/libexec/PlistBuddy -c "Set :CFBuildDate $CFBuildDate" $buildPlist

I removed it and my Jenkins builds stopped failing but it would still be nice to get this plugin in better shape so it can handle such use cases.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to