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

Unable to set a directory path to upload multiple build files #3

Closed
jbouzekri opened this issue Feb 6, 2017 · 2 comments
Closed

Unable to set a directory path to upload multiple build files #3

jbouzekri opened this issue Feb 6, 2017 · 2 comments

Comments

@jbouzekri
Copy link

I have installed your plugin and configured it this way :

token : oauth token generated using slack api
channel : #android
path: /var/lib/jenkins/workspace/myapp/app/build/outputs/apk/

This folder contains 2 APKs file per build I want to upload.

In the post build hook log, I have this :

curl: (26) couldn't open file "app-debug.apk"
curl: (26) couldn't open file "app-release-unsigned.apk"

It works if I specify only one of these 2 files. However it would be great if you updated your bash script to make it detect that the path is a directory and that it should upload all the files found in this directory.

@masterlittle
Copy link
Owner

Use /var/lib/jenkins/workspace/myapp/app/build/outputs/apk/*.apk

@jbouzekri
Copy link
Author

I feel so stupid 😊 ... Totally forgot about globbing. Thanks for pointing it out. It works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants