Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,881
Community Members
 
Community Events
176
Community Groups

Automatic Build is not triggering on open Pull request

Edited

Automatic Build is not triggering on open Pull request - once i create a branch, commit,  push and create Pull request (PR). The automatic build is NOT triggering. due to which i am not sure if build is success or not and i cant merge to master. 

What do we need to do ? (it use to work but suddenly stopped working past 2 days)

1 answer

0 votes
Syahrul Atlassian Team Dec 01, 2021

Hi @Dharmendra

Welcome to the community!

Just to confirm the behavior did you check and confirm if your YAML has the "pull-request" triggers option? You need this pipeline trigger to trigger the build so it started when you create a pull request and that the branches glob patterns is configured correctly as the following example:

pipelines:
  pull-requests:
    '**': #this runs as default for any branch not elsewhere defined
      - step:
          script:
            - ...
    feature/*: #any branch with a feature prefix
      - step:
          script:
            - ...
branches:    #these will run on every push of the branch
    staging:
      - step:
          script:
            - ...

If all is configured correctly, then navigate to repositories settings >  Webhook > click view request for pipelines and locate the one that has pull request created/updated triggers and enable the history. Then reproduce the issue and view the history logs to see if the triggers actually trigger or not. If there are no logs when you create a new pull request then most likely there's an issue with the Webhook and may need to investigate the issue further.

I hope this helps.

Cheers,
Syahrul

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events