I am wondering if there is any way to tell the git revision of the last 
successful build of a pipeline.

I require it to inform the following command, which returns a list of 
changes for a given project in my monorepo.

git diff-tree --no-commit-id --name-only -r 
"<last_successful_revision>..<head_revision>" -- "./$project"

Looking at only the changes for the latest revision will not suffice as the 
diff will likely not include changes in all the same projects as the 
previous revision meaning I can't determine which projects to build.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/13ce3ef3-34e9-498d-8060-cae931ff5c2en%40googlegroups.com.

Reply via email to