Forums

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

install wordpress using wp-cli in pipeline

web77 July 24, 2019

I am having issues while installing wordpress using wp-cli in Pipeline.I am using .yml file to write a script to install wordpress using Wp-cli.

Please suggest me some solution for it ASAP

Thanks.

 

1 answer

0 votes
Peter Plewa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 2, 2019 edited

Hi @web77

I would suggest using Docker image with wp-cli preinstalled like the official ones from https://hub.docker.com/_/wordpress/ You can find how to use custom images at https://confluence.atlassian.com/bitbucket/use-docker-images-as-build-environments-792298897.html but basically it would require you to put following in your YML

image: wordpress:cli

If that doesn't satisfy your requirements, you can alternatively build your own Docker image with all dependencies your project needs.

Thanks,
Peter

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, forge, forge learning path, atlassian learning, cloud app development, forge app development, build forge apps, atlassian certification, developer training, jira app development, confluence app development, automation, ui frameworks

Turn Ideas into Atlassian Apps 📱

From setup to deployment—this learning path shows you how to build your first app using Forge. Learn the essentials, streamline workflows, and bring custom solutions to life across Jira, Confluence, and more.

Start Learning
AUG Leaders

Atlassian Community Events