We recently started using pipeline for our open-source Mercurial project ControlsFX and we love it :D
Pipeline Details
We have 2 different branches - default and 9.0.0. We want to run default only when a PR targeted to default branch is merged. Similarly, run 9.0.0, when a PR targeted to 9.0.0 branch is merged.
pipelines: branches: default: - step: name: Build and assemble default branch image: cogniteev/oracle-java:java8 caches: - gradle script: - chmod +x gradlew - ./gradlew clean assemble 9.0.0: - step: name: Build and assemble 9.0.0 branch image: abhinay/oracle-java:java10 caches: - gradle script: - chmod +x gradlew - ./gradlew clean assemble
Problem
After introducing the change to pipeline for branches, it has been running twice for the same commit. We are not sure what's going wrong.
We appreciate the help.
Thanks.
In my case this was caused by having multiple webhooks configured in my repo -> settings.
Hi Abhinay,
If you haven't already done so could you please raise a support ticket here: https://support.atlassian.com/contact
Be sure to include a link to the result page for one of the affected pipelines.
Cheers,
Steven
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.