Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload IPA from Command line without any user confirmation #166

Closed
satheeshpayoda opened this issue Jun 26, 2019 · 12 comments
Closed

Upload IPA from Command line without any user confirmation #166

satheeshpayoda opened this issue Jun 26, 2019 · 12 comments

Comments

@satheeshpayoda
Copy link

satheeshpayoda commented Jun 26, 2019

Is your feature request related to a problem? Please describe.

I'm using MSBuild in Jenkins to build Xamarin project and generate IPA file. So I need to upload to IPA alone to DropBox for local testing. Currently i'm using ipa= argument and passing IPA file location as argument to automate the upload process.

Now i'm facing two issue:

  1. Once Upload completed or failed. AppBox UI is not getting closed. So Jenkins job is in running state forever. I have use timeout command to kill the app after X mins.
  2. Sometimes because of User Confirmation dialog like New Version update dialog. Jenkins job is in running state forever.

Describe the solution you'd like

There should be dedicated command line option to upload IPA alone to DropBox without any user interaction. It should close automatically when upload competed / failed. Also there should be an option to get final Share URL when successfully uploaded to Dropbox. My Opinion: You can set Environment variable to save Share URL. So jenkins can read the variable to get final URL.

Thanks.

@satheeshpayoda satheeshpayoda changed the title Upload IPA through Command line without building the whole project Upload IPA from Command line without any user confirmation Jun 26, 2019
@vineetchoudhary vineetchoudhary self-assigned this Jun 26, 2019
@vineetchoudhary
Copy link
Member

Regarding Update Alert
You can disable the update alert from AppBox CI Preferences. Open AppBox Preferences then Select CI Settings.

Regarding Auto Close
I've handled most of the cases when you are using ipa or build arguments. I think you are facing this issue due to update alert. Please disable the update alert from CI Setting.

Let me know if you still face this issue after disabling update alert.

@satheeshpayoda
Copy link
Author

satheeshpayoda commented Jun 26, 2019

Regarding Update Alert
Its disabled. I verified.
But i tested on 2.7.2
Is this fixed on latest version?

@satheeshpayoda
Copy link
Author

satheeshpayoda commented Jun 26, 2019

Regarding Auto Close
Its still not getting closed. I tested on latest version.
FYI, i'm calling this cmd to upload:
/Applications/AppBox.app/Contents/MacOS/AppBox ipa=$IPA_FILE

Thanks for your reply.

@vineetchoudhary
Copy link
Member

vineetchoudhary commented Jun 26, 2019

Got this. You need to set an email address. You can set multiple commas separated email address.

/Applications/AppBox.app/Contents/MacOS/AppBox ipa=$IPA_FILE email='user@example.com'

You can also set a custom message using the message parameter.

/Applications/AppBox.app/Contents/MacOS/AppBox ipa=$IPA_FILE email='user@example.com'
 message='{PROJECT_NAME} - {BUILD_VERSION}({BUILD_NUMBER}) is ready to test.'

@satheeshpayoda
Copy link
Author

satheeshpayoda commented Jun 27, 2019

Thanks for your answer.
I tested its working fine now with latest version. JFYI, First i tested with old version. It hangs at Update dialog even with email= argument. i hope you have fixed this on latest version. So on next release , it will not hangs at Update dialog.

My Humble Request:
You should allow us to upload IPA alone to DropBox without any email notification. ("email=")
Because you are using your own SMTP to send mails when upload is completed. So you can see the mails with link to app from your side. Some people don't want their app to be public until it become stable or app might be only for internal use etc... or You can allows us to use our own SMTP.

Thanks.

@vineetchoudhary
Copy link
Member

That's not completely true. AppBox use mailgun to send mail and mailgun doesn't provide any way to see body content of an email.

Also, mailgun only retains 3-day mail logs in which I can only check mail subject, recipient and delivery status.

@vineetchoudhary
Copy link
Member

vineetchoudhary commented Jun 27, 2019

Also, I'll make email argument optional in next release. 🤘🏻🤘🏻

Thank you for your feedback!! ☺️☺️

@satheeshpayoda
Copy link
Author

satheeshpayoda commented Jun 27, 2019

Thanks. Hope next release will be released ASAP. 😉

@vineetchoudhary
Copy link
Member

vineetchoudhary commented Jun 27, 2019

Yes. Hopefully this weekend. Because user trust is important.

@vineetchoudhary vineetchoudhary added this to Task + Issues in AppBox for Mac Jun 27, 2019
vineetchoudhary added a commit that referenced this issue Jun 28, 2019
 Exit AppBox without email argument (#166)
@vineetchoudhary vineetchoudhary moved this from ToDo (Task + Issues + PR) to In Progress (Task+Issues+PR) in AppBox for Mac Jun 28, 2019
@vineetchoudhary vineetchoudhary moved this from In Progress (Task+Issues+PR) to Done (Task+Issues) in AppBox for Mac Jun 28, 2019
@vineetchoudhary
Copy link
Member

Released in 2.8.2.

@satheeshpayoda
Copy link
Author

Thanks for the new release. Tested and its working fine.

@anhhtbk
Copy link

anhhtbk commented Dec 17, 2021

Can I use keep_same_link=true? I try but it is not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
AppBox for Mac
  
Done (Task+Issues)
Development

No branches or pull requests

3 participants