Hi Alan If you use the api you can inspect the latest runs if your pipeline. With this you can get the counter of both runs and use it to compare runs, again through the api. This will break down changes by material between the two runs, so you can generate release notes. This is identical to using the compare feature through the UI.
I hope this helps you -- Denis Troller > Le 2 févr. 2021 à 17:48, Allan M <[email protected]> a écrit : > > 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. -- 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/576A3831-3AB3-4C36-8A49-4AD49FBF6FBA%40gmail.com.
