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
AUG Leaders

Atlassian Community Events