Deliver for multiple application in 1 project #20
Comments
Sorry for the late response. It looks like I got a working solution now: if ENV["project"] == 'project_name1'
email "yourappleid@company.com"
# hide_transporter_output # remove the '#' in the beginning of the line, to hide the output while uploading
########################################
# App Metadata
########################################
# The app identifier is required
app_identifier "[Your App Identifier, e.g. at.felixkrause.app_name]"
# This folder has to include one folder for each language
# More information about automatic screenshot upload:
screenshots_path "./screenshots"
# version '1.2' # you can pass this if you want to verify the version number with the ipa file
#
# title({
# "en-US" => "Your App Name"
# })
#
# changelog({
# "en-US" => "iPhone 6 (Plus) Support"
# })
########################################
# Building and Testing
########################################
# Dynamic generation of the ipa file
# I'm using Shenzhen by Mattt, but you can use any build tool you want
# Remove the whole block if you do not want to upload an ipa file
ipa do
# system("ipa build") # build your project using Shenzhen
"./[[APP_NAME]].ipa --scheme your name" # Tell 'Deliver' where it can find the finished ipa file
end
# ipa "./latest.ipa" # this can be used, if you prefer manually building the ipa file
# unit_tests do
# system("xctool test")
# end
success do
system("say 'Successfully deployed a new version.'")
end
elsif ENV["project"] == 'project_name1'
# copy code here
end and run deliver using
|
Thanks! Working great. Just having an issue to run deliver via jenkins. �[0m�[0m############################################################# When I login to jenkins via the Terminal application I see that phantomjs is installed. Wouters-MacBook-Pro-2:~ jenkins$ which phantomjs What could be the problem? Thanks |
Maybe your Jenkins process is running as a different user? |
The jenkins process is running as the "Jenkins" user and I have brew installed (on my user and so on the Jenkins user).
Very weird. Is brew not working with jenkins? Maybe this user also has the same problem --> https://twitter.com/devasapps/status/533335162864803840 ? |
I just thing that jenkins cannot use brew. You found a solution to drop this and use Mechanize? Would be great! Thanks :) |
Sent from my iPhone
|
Hi, Oh, how can I setup jenkins as the same user? Sorry for all the questions, would be great if I can setup my jenkins installation with deliver! :) Thanks. Wouter |
I use Jenkins App: https://github.com/stisti/jenkins-app Sent from my iPhone
|
Nice! Thanks!! — On Sat, Nov 15, 2014 at 11:16 AM, Felix Krause notifications@github.com
|
This doesn't work anymore with fastlane? lane :beta do /Library/Ruby/Gems/2.0.0/gems/fastlane-0.1.5/lib/fastlane/fast_file.rb:20:in `eval': (eval):27: syntax error, unexpected tIDENTIFIER, expecting keyword_end (SyntaxError) |
What are you trying to achieve? That's no valid syntax. I don't understand your code |
When you check the previous comments in this discussion I have 1 Xcode workspace and multiple targets. So I also have 1 Deliverfile and with environment variables I could builds separate targets. So I tried to use the same syntax in the Fastfile as I did before. project="project_name1" deliver Isn't that possible anymore? |
Ohh, okay. lane :beta do
ENV["project"] = "something"
deliver :beta
end |
Thanks for the fast reply! That's working! |
This issue was migrated to fastlane/fastlane#2467. Please post all further comments there.
|
First off all thanks for this great tool.
Using your gist I tried to use Deliver for multiple applications in 1 project file.
https://gist.github.com/KrauseFx/3e7886f0590a9db64487
when I run deliver the terminal hangs and is not doing anything..
When I interrupt the command (after some minutes) I get this..
https://cloudup.com/cnatuECjPAS
Do you know a solution?
Thanks
The text was updated successfully, but these errors were encountered: