Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I want to execute some script on the ec2 instance from the bitbucket-pipelines.yml?

Yogesh Shinde April 12, 2017

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 :

image: java:8

pipelines:
# default:
# - step:
# script: # Modify the commands below to build your repository.
# - ./gradlew build -x test
# - ./gradlew jettyRun
branches:
development:
- step:
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

1 answer

0 votes
davina
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 23, 2017

Hi Yogesh,

Can you clarify which part you are having trouble with?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events