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}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.