Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

curl: (26) couldn't open file apk Hockey App

Hi,

    I have android Base project in my bitbucket account. I tried CICD using Android Base project. CI part work fine. But during CD I got error.

 

curl: (26) couldn't open file apk Hockey App

 

In my deploy-hockey-dev.sh file,

#!/bin/sh

# upload apk to hockey app
curl \
-F "status=2" \
-F "notify=0" \
-F "ipa=@app/build/outputs/apk/app-debug.apk" \
-H "X-HockeyAppToken: $HOCKEY_APP_TOKEN" \
https://rink.hockeyapp.net/api/2/apps/upload

 

I Don't know what mistake I did and I want to know exact location of  -F "ipa=@app/build/outputs/apk/app-debug.apk" \ to check build created or not.

1 answer

0 votes
Ana Retamal Atlassian Team Feb 20, 2019

Hi Magesh, welcome to the Community!

When exactly do you get this error? Are you using Bitbucket for this? Can you give us some more context so we can help you?

Best regards,

Ana

Yes I am using bitbucket. So tried CICD to upload my build apk to Hockey App. For upload I used below script.

 

In my deploy-hockey-dev.sh file,

#!/bin/sh

# upload apk to hockey app
curl \
-F "status=2" \
-F "notify=0" \
-F "ipa=@app/build/outputs/apk/app-debug.apk" \
-H "X-HockeyAppToken: $HOCKEY_APP_TOKEN" \
https://rink.hockeyapp.net/api/2/apps/upload

 

In above script ipa=@app/build/outputs/apk/app-debug.apk I gave some specific path. But It throw error like  there is no apk on a specific location. I don't Where is the exact location of bitbucket build location.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

647 views 7 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you