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

How do I run bitbucket pipelines for every 5min Edited

We have critical test pipelines that should run every5min . When I open schedule I see only Daily , Weekly, Hourly . 

1 answer

0 votes


Pipelines UI contains wide-used propositions for period. For custom schedule you can post this schedule using bitbucket api (doc ).


Regards, Galyna

@Galyna Zholtkevych  thank you very much.

Could you please provide me a piece of code example for pattern or more example information on this if possible.

Thank you

@Galyna Zholtkevych where exactly we can hook up this in our Repository ?

@mounika.nallagundla for example, you can create a custom pipeline that is posting a schedule. But it actually can be done only once, if you're not gonna to remove it.

But anyway, to automate this more, in bitbucket-pipelines.yml you can write something like this:

schedule-pipeline: &schedule-pipeline
name: Schedule
- curl -x POST -d '{"cron_pattern": "...."}' url
- <<: *schedule-pipeline

 The url and request data can be found here


Regards, Galyna

Like mounika.nallagundla likes this

@Galyna Zholtkevych Thanks for the above reply. We are experimenting with it .

One more question regarding Pager Duty Integration with Bitbucket. When I see  Pager Duty integration It is hooking up with Repository not with specific pipeline run . If you provide any solution for this(pipeline test level) that will be big help for us .


@Galyna Zholtkevych I have given Workspace UUID & Repository UUID in the url .

Note: I am not posting actual values here for the privacy but tried with actual values got Resource not found.

- step:
name: Five Minute Schedule
- curl -x POST -d '{"cron_pattern":"0 0/5 * * * ?"}'{workspace UUID}/{Repository UUID}/pipelines_config/schedules/

It’s returning with “Resource not found” error.

Let me know if you need more info.


@mounika.nallagundla we don't try it with repository id and workspace id, but with workspace name and repository name. I also tried with workspace uuid and repository uuid, it also works.

SO there could be two issues in your request:

- something is wrong with authorization scope. perhaps you did not give required right for your app password that you use on authentication

- misstyp in url. my urll looks like:{WORKSPACE_UUID}/{REPO_UUID}/pipelines_config/schedules/


Check also the url  contains proper workspace uuid and repository uuid. You can find them , for example, in OpenID COnnect tab of repository - this tab gives such info.

However, it is easier and more handy to use names.



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...

2,399 views 51 18
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