You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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}