Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pipeline for Pull request

Franco Rolando
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 11, 2024

I have this YML but when I create a PR to master , the build to check test is not automatically executed.


image: maven:3.8.4-openjdk-17

pipelines:
pull-requests:
master:
- step:
name: "Run Maven Tests"
caches:
- maven
script:
- mvn -B test

2 answers

0 votes
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2024

Hi @Franco Rolando

Flowie has very flexible support for triggering pipelines, including based on the destination branch.

If you have any questions, you can contact our support team, who can help you set up your workflow.

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 13, 2024

G'day, @Franco Rolando 

Welcome to the community!

Pipeline triggers only work for the source branch and not the destination. We have a feature request that is currently tracked at:

https://jira.atlassian.com/browse/BCLOUD-17859

In your case, the destination of the PR was the master branch, which is why there were no triggers for pipeline builds. If the master branch were the source, the pipeline build would trigger when a PR is created.

Regards,
Syahrul

Franco Rolando
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 16, 2024

Thanks! You are right! Really appreciate your comment.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events