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

Your Points Tracker
  • 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
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?
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

Scm Uri Error in Python function deployment from Bitbucket pipeline to Azure using microsoft/azure-f

I have created a Bitbucket pipeline using the image python3.7.2 and I compressed the python function and pass to deployment as per the documentation in Bitbucket.But when I tried to deployed it using - pipe: microsoft/azure-functions-deploy:1.0.1,It shows some error ValueError: Failed to retrieve Scm Uri

- step:
    name: build and test
    image: python:3.7.2
     - cat /etc/os-release
     - ls
     - apt-get update && apt-get install zip
     - zip -r ./*

- step:
    name: "deploy to dev function"
    deployment: Staging
    trigger: manual
      - pipe: microsoft/azure-functions-deploy:1.0.1
          FUNCTION_APP_NAME: 'readfromip-sell-py-dev-fnap'
          ZIP_FILE: ''

INFO: Deploying zip file ERROR: Failed to retrieve Scm Uri Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/knack/", line 206, in invoke cmd_result = self.invocation.execute(args) File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/", line 328, in execute raise ex File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/", line 386, in _run_jobs_serially results.append(self._run_job(expanded_arg, cmd_copy)) File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/", line 379, in _run_job six.reraise(*sys.exc_info()) File "/usr/local/lib/python3.6/site-packages/", line 693, in reraise raise value File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/", line 356, in _run_job result = cmd_copy(params) File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/", line 171, in call return self.handler(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/azure/cli/core/", line 452, in default_command_handler return op(**command_args) File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/appservice/", line 273, in enable_zip_deploy scm_url = _get_scm_url(cmd, resource_group_name, name, slot) File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/appservice/", line 1374, in _get_scm_url raise ValueError('Failed to retrieve Scm Uri') ValueError: Failed to retrieve Scm Uri

0 answers

Suggest an answer

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

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

746 views 15 10
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