Flux
Flux

Reputation: 10930

Buildbot: How to get list of changed files since the last successful build?

I come from Jenkins, and there, it is possible to obtain the Git commit hash associated with the last successful build on a Git branch. The environment variable GIT_PREVIOUS_SUCCESSFUL_COMMIT is provided by the Jenkins Git plugin. For each build, its value is set to the commit hash of the previous successfully built commit on the branch. The commit hash can then be used to compute the list of changed files. That's how I am able to get the list of changed files in Jenkins.

With Buildbot, how can I:

I know how to get the list of changed files since the last build for a branch, but I just don't know how to get the list of changed files since the last successful build.

Use cases

Upvotes: 7

Views: 312

Answers (0)

Related Questions