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
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! You are right! Really appreciate your comment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.