Find git commit hash for a previous run in Jenkins pipeline
I have a job in Jenkins which is designed to build multiple Docker container images along with charts. I want this job to check git tree for differences to know if new version of an image should be built.