Forums

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

Minimum phpunit deploy fails

Theodoros Moschos May 21, 2018

Hello all, I am currently setting me up a pipeline for our PHP project and for its purposes I am using 
`

image: phpunit/phpunit:6.5.3

`
as a base image.

Thereafter, I am running the following minimum script:
`

pipelines:
branches: # Pipelines that run automatically on a commit to a branch
staging:
- step:
script:
- phpunit -c phpunit.xml

`
but getting the following error message:

`Cannot open file "/opt/atlassian/pipelines/agent/build/vendor/autoload.php".`

Any ideas would be more than helpful.

1 answer

0 votes
davina
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 16, 2018

Hi @Theodoros Moschos

Do you need to install dependencies before testing?

You can follow our guide here.

Hope this helps!

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, compass, developer experience, devex, platform engineering, internal developer platform, component catalog, atlassian learning, productivity tools, developer productivity, software architecture, compass webinar, engineering teams

Discover how Compass drives DevEx and productivity at Atlassian 🏃🏻‍♂️

Learn why Compass was built to tackle dev experience at scale. See how Atlassian uses it to boost visibility, reduce cognitive load, and drive consistency—plus tips to get started and customize your IDP for stronger team engagement.

Join the webinar ✨
AUG Leaders

Atlassian Community Events