Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Pipelines are not run automatically from branch

Hi problem is that pipelines are not run automatically when I merged with master branch or another brunch. My code has branches: master: but it is not trigered automatically after merge. Could you please help me?

{code:xml}

image:
name: docker file
aws:
access-key: $AWS_ACCESS_KEY_ID
secret-key: $AWS_SECRET_ACCESS_KEY
options:
max-time: 60
# used because whe has a lot of issues with OutOfMemory used gradle on pipelines
size: 2x
pipelines:
default:
- step:
name: Build and test
caches:
- gradlecache
- gradlewrapper
script:
- chmod +x gradlew
- echo "$ANDROID_MLITE_KEYSTORE" | base64 -di > /opt/atlassian/pipelines/agent/build/app/app-release-key.jks
- bash ./gradlew clean build
artifacts:
- app/build/outputs/apk/*/*/*.apk

branches:
# Release version for customers
master:
- step:
name: Build live
caches:
- gradlecache
- gradlewrapper
script:
- chmod +x gradlew
- echo "$ANDROID_MLITE_KEYSTORE" | base64 -di > /opt/atlassian/pipelines/agent/build/app/app-release-key.jks
- bash ./gradlew clean assembleLive
artifacts:
- app/build/outputs/apk/*/*/*.apk
- step:
name: Deploy the live apps to AppCenter
deployment: production
image:
name: docker
aws:
access-key: $AWS_ACCESS_KEY_ID
secret-key: $AWS_SECRET_ACCESS_KEY
script:
- echo "Upload artifacts to AppCenter"
...


{code}

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

4,434 views 12 15
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