Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

sh: 1: git: not found - starts after few hours

matousek NA April 1, 2019

Hello, i have problem with pipelines.
There is my bitbucket-pipelines.yml:

Screenshot_9.png

I created yml file. With couple attemps builds started works.

But

After few hours. The pipeline started writing errors:
Screenshot_7.png


I found that when I change the version, it starts working. But only again few hours. Then I get the same error again.

Screenshot_8.png

Do you know why? Can you help me, what i do wrong?
Thanks very much!

1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 9, 2019

Hello,

It seems like the php image you're using was updated to no longer include git.

You will now need to either create a new image with git installed, or install it as part of your build.

apt-get update && apt-get install -y unzip git    

Thanks,

Phil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events