Forums

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

pipeline builds fail with: sh: git: not found

ArMyZ April 4, 2019

Hello,

I noticed that my perfectly working pipeline all in a sudden started failing the build (I noticed few days ago, last successful build was one month ago).

 

Note: I install both git and git-core packages

 

Any suggestion? Maybe some modified dependencies?

 

Thanks in advance,

A.

3 answers

1 accepted

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

Hello,

What Docker image are you using for your build? Perhaps that has been updated to not include git anymore?

Can you try rerun an old successful pipeline and see if that still works?

Thanks,

Phil

ArMyZ April 8, 2019

Hi Philip, thanks for stopping by.

I tried to rerun last successful build and it's not working anymore.

 

+ git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:masterbash: git: command not found

 

Thanks,

A.

 

P.S.: image: php:7.1.1

0 votes
ArMyZ April 9, 2019

Brand new commits perfectly work with new image.

Thank you

0 votes
ArMyZ April 8, 2019

I edited the yml file setting a different image (7.3) and the build  seems to work.

Is there a way to go through runs on error and specify the new modified pipelines?

They re-use the old one.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events