Forums

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

Is git in pipeline cached?

standus
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2025

I have pipeline with this command:

export FILES=$(git diff-tree --no-commit-id --name-only --diff-filter=ACMR -r HEAD^^..HEAD)

but it will return files which are commited few commits before. My last commit has different diff. When I try this command on my local PC I see correct changed files, but pipeline generate different.

Is it possible that git on pipelines image is cached?

My pipeline script has no any cache settings. 

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events