I want to execute some script on the ec2 instance(Created by elestic beanstalk) from the bitbucket-pipeline.yml, how to execute such script on the instance.
Refer the bitbucket-pipeline.yml :
# - step:
# script: # Modify the commands below to build your repository.
# - ./gradlew build -x test
# - ./gradlew jettyRun
script: # Modify the commands below to build your repository.
- apt-get update && apt-get install -y python-dev
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- pip install awsebcli --upgrade
- ./gradlew build -x test
- eb init ApplicationName -r us-west-2 -p Java
- eb deploy
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
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